{"action":"created","issue":{"url":"https://api.github.com/repos/mindriven/TeamCity-OpenCoverRunner/issues/8","labels_url":"https://api.github.com/repos/mindriven/TeamCity-OpenCoverRunner/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/mindriven/TeamCity-OpenCoverRunner/issues/8/comments","events_url":"https://api.github.com/repos/mindriven/TeamCity-OpenCoverRunner/issues/8/events","html_url":"https://github.com/mindriven/TeamCity-OpenCoverRunner/issues/8","id":109519802,"number":8,"title":"Different partitions causing problems","user":{"login":"aling93","id":9560799,"avatar_url":"https://avatars.githubusercontent.com/u/9560799?v=3","gravatar_id":"","url":"https://api.github.com/users/aling93","html_url":"https://github.com/aling93","followers_url":"https://api.github.com/users/aling93/followers","following_url":"https://api.github.com/users/aling93/following{/other_user}","gists_url":"https://api.github.com/users/aling93/gists{/gist_id}","starred_url":"https://api.github.com/users/aling93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aling93/subscriptions","organizations_url":"https://api.github.com/users/aling93/orgs","repos_url":"https://api.github.com/users/aling93/repos","events_url":"https://api.github.com/users/aling93/events{/privacy}","received_events_url":"https://api.github.com/users/aling93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-02T15:55:07Z","updated_at":"2015-10-08T06:36:49Z","closed_at":"2015-10-08T06:36:49Z","body":"Can you tell me how to get around this?\r\n\r\n```\r\njava.io.FileNotFoundException: Found multiple or none files(0) matching directory discovery pattern\r\n\r\nSearched in: X:\\BuildAgent\\work\\9385ca14d240412f\r\n\r\nSearched for: \"C:\\Program Files\\Microsoft Visual Studio 12.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow\\vstest.console.exe\"\r\n[18:48:47]\r\n[Step 5/5] java.io.FileNotFoundException: Found multiple or none files(0) matching directory discovery pattern\r\nSearched in: X:\\BuildAgent\\work\\9385ca14d240412f\r\nSearched for: \"C:\\Program Files\\Microsoft Visual Studio 12.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow\\vstest.console.exe\"\r\n\tat mindriven.buildServer.OpenCoverRunner.agent.Utils.OpenCoverRunnerDirectoryScanner.throwScanningResultInconclusiveException(OpenCoverRunnerDirectoryScanner.java:64)\r\n\tat mindriven.buildServer.OpenCoverRunner.agent.Utils.OpenCoverRunnerDirectoryScanner.scanForSinglePath(OpenCoverRunnerDirectoryScanner.java:33)\r\n\tat mindriven.buildServer.OpenCoverRunner.agent.OpenCover.ArgumentsProvider.getTestsRunnerPath(ArgumentsProvider.java:97)\r\n\tat mindriven.buildServer.OpenCoverRunner.agent.OpenCover.ArgumentsProvider.getArguments(ArgumentsProvider.java:48)\r\n\tat mindriven.buildServer.OpenCoverRunner.agent.OpenCoverRunnerCommandLine.constructExecutionCommand(OpenCoverRunnerCommandLine.java:69)\r\n\tat mindriven.buildServer.OpenCoverRunner.agent.OpenCoverRunnerCommandLine.fillCmdFileWithContent(OpenCoverRunnerCommandLine.java:60)\r\n\tat mindriven.buildServer.OpenCoverRunner.agent.OpenCoverRunnerCommandLine.getExecutablePath(OpenCoverRunnerCommandLine.java:49)\r\n\tat jetbrains.buildServer.agent.runner2.GenericCommandLineBuildProcess$3.getExecutablePath(GenericCommandLineBuildProcess.java:159)\r\n\tat jetbrains.buildServer.agent.runner2.GeneralCommandLineFactory.checkCommandLine(GeneralCommandLineFactory.java:88)\r\n\tat jetbrains.buildServer.agent.runner2.GeneralCommandLineFactory.<init>(GeneralCommandLineFactory.java:35)\r\n\tat jetbrains.buildServer.agent.runner2.GenericCommandLineBuildProcess.executeProcess(GenericCommandLineBuildProcess.java:72)\r\n\tat jetbrains.buildServer.agent.runner2.GenericCommandLineBuildProcess.waitFor(GenericCommandLineBuildProcess.java:257)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.CallRunnerStage.doBuildStage(CallRunnerStage.java:59)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:25)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:18)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor.doStages(RunnerStagesExecutor.java:18)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:43)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.processNextStep(StepExecutor.java:25)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeRunnerStep(ForEachBuildRunnerStage.java:138)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.runStep(ForEachBuildRunnerStage.java:123)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeBuildRunners(ForEachBuildRunnerStage.java:83)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.doBuildStage(ForEachBuildRunnerStage.java:44)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)\r\n\tat jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)\r\n\tat jetbrains.buildServer.agent.impl.BuildRunActionImpl.doStages(BuildRunActionImpl.java:70)\r\n\tat jetbrains.buildServer.agent.impl.BuildRunActionImpl.runBuild(BuildRunActionImpl.java:50)\r\n\tat jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:281)\r\n\tat jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:55)\r\n\tat jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:245)\r\n\tat java.lang.Thread.run(Thread.java:744)\r\n```\r\n\r\nThe teamcity working directory is on X: but the visual studio test runner is on C: . Setting working directory to C: didn't help much either."},"comment":{"url":"https://api.github.com/repos/mindriven/TeamCity-OpenCoverRunner/issues/comments/146433322","html_url":"https://github.com/mindriven/TeamCity-OpenCoverRunner/issues/8#issuecomment-146433322","issue_url":"https://api.github.com/repos/mindriven/TeamCity-OpenCoverRunner/issues/8","id":146433322,"user":{"login":"mindriven","id":4957654,"avatar_url":"https://avatars.githubusercontent.com/u/4957654?v=3","gravatar_id":"","url":"https://api.github.com/users/mindriven","html_url":"https://github.com/mindriven","followers_url":"https://api.github.com/users/mindriven/followers","following_url":"https://api.github.com/users/mindriven/following{/other_user}","gists_url":"https://api.github.com/users/mindriven/gists{/gist_id}","starred_url":"https://api.github.com/users/mindriven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindriven/subscriptions","organizations_url":"https://api.github.com/users/mindriven/orgs","repos_url":"https://api.github.com/users/mindriven/repos","events_url":"https://api.github.com/users/mindriven/events{/privacy}","received_events_url":"https://api.github.com/users/mindriven/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T06:36:49Z","updated_at":"2015-10-08T06:36:49Z","body":"Great that you got it working. Now this makes me wonder if I should actually trim quotation marks from paths berfore using them, or should I just put remark in the documentation. Probably both would make sense. Thanks for the improvement proposal (I've made a note here https://github.com/mindriven/TeamCity-OpenCoverRunner/issues/9).\r\nI am gladly awaiting more feedback! :)"}}