{"action":"closed","issue":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/787","repository_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/787/labels{/name}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/787/comments","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/787/events","html_url":"https://github.com/OmniSharp/omnisharp-vscode/issues/787","id":179507495,"number":787,"title":"Debug Tests on a Class Library Project","user":{"login":"robvanpamel","id":1253868,"avatar_url":"https://avatars.githubusercontent.com/u/1253868?v=3","gravatar_id":"","url":"https://api.github.com/users/robvanpamel","html_url":"https://github.com/robvanpamel","followers_url":"https://api.github.com/users/robvanpamel/followers","following_url":"https://api.github.com/users/robvanpamel/following{/other_user}","gists_url":"https://api.github.com/users/robvanpamel/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanpamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanpamel/subscriptions","organizations_url":"https://api.github.com/users/robvanpamel/orgs","repos_url":"https://api.github.com/users/robvanpamel/repos","events_url":"https://api.github.com/users/robvanpamel/events{/privacy}","received_events_url":"https://api.github.com/users/robvanpamel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/labels/Debugger","name":"Debugger","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-27T14:21:56Z","updated_at":"2016-09-29T16:29:27Z","closed_at":"2016-09-29T16:29:27Z","body":"## Environment data\r\n`dotnet --info` output:\r\n.NET Command Line Tools (1.0.0-preview2-003131)                                                                                                                                              \r\n                                                                                                                                                                                             \r\nProduct Information:                                                                                                                                                                         \r\n Version:            1.0.0-preview2-003131                                                                                                                                                   \r\n Commit SHA-1 hash:  635cf40e58                                                                                                                                                              \r\n                                                                                                                                                                                             \r\nRuntime Environment:                                                                                                                                                                         \r\n OS Name:     ubuntu                                                                                                                                                                         \r\n OS Version:  16.04                                                                                                                                                                          \r\n OS Platform: Linux                                                                                                                                                                          \r\n RID:         ubuntu.16.04-x64 \r\n\r\nVS Code version: 1.5.3\r\nC# Extension version: 1.5.0-beta1\r\n\r\n## Steps to reproduce\r\n\r\n1. Create \"Class Library Project\" with a class to test in it (SUT) . \r\nproject file looks like this: \r\n'{\r\n    \"version\": \"1.0.0-*\",\r\n    \"dependencies\": {\r\n    },\r\n    \"frameworks\": {\r\n        \"netcoreapp1.0\": {\r\n            \"dependencies\": {\r\n                \"Microsoft.NETCore.App\": {\r\n                    \"type\": \"platform\",\r\n                    \"version\": \"1.0.0\"\r\n                }\r\n            }\r\n        }\r\n    }\r\n}'\r\n\r\n2. Create another class library (which will act as test project) \r\nproject file looks like this. \r\n´{\r\n  \"version\": \"1.0.0-*\",\r\n  \"testRunner\": \"xunit\",\r\n  \"buildOptions\": {\r\n    \r\n    \"debugType\": \"portable\"\r\n  },\r\n  \"dependencies\": {\r\n    \"SAG.NextGen.MessageBroker\": \"1.0.0-*\",\r\n    \"xunit\": \"2.2.0-beta2-build3300\",\r\n    \"dotnet-test-xunit\": \"2.2.0-preview2-build1029\"\r\n  },\r\n  \"frameworks\": {\r\n    \"netcoreapp1.0\": {\r\n      \"dependencies\": {\r\n        \"Microsoft.NETCore.App\": {\r\n          \"type\": \"platform\",\r\n          \"version\": \"1.0.0\"\r\n        }\r\n      }\r\n    }\r\n  }\r\n}´\r\n\r\n3. Create  class Calculator with add method in Class Library Project\r\n4. Create class CalculatorTestFixture with TestAdd method in Test project second.\r\n5. Add Fact attribute on TestAdd Method. \r\n6. Call Add method from Class Library Project\r\n6. Add breakpoint in the TestAdd Method\r\n5. Click on the debug link above the TestAdd Method\r\n\r\n## Expected  behavior\r\nDebugging is started on the test method\r\n\r\n## Actual behavior\r\nAn exception is thrown and a red bar appears in VSCode\r\n\r\nFailed to start debugger on test because Error: Debug adapter executable '/home/rvpamel/.vscode/extensions/ms-vscode.csharp-1.5.0-beta1/out/coreclr-debug/proxy.js' not found..\r\n\r\nEdit : When adding a Program and main method i'm able to debug the unit test but this shouldn't be the case \r\n"}}
{"actor":{"display_login":"DustinCampbell"}}