{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/1597","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/1597/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/1597/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/1597/events","html_url":"https://github.com/dotnet/corefx/issues/1597","id":72261144,"number":1597,"title":"Running CoreFx tests from VS is broken","user":{"login":"tmat","id":41759,"avatar_url":"https://avatars.githubusercontent.com/u/41759?v=3","gravatar_id":"","url":"https://api.github.com/users/tmat","html_url":"https://github.com/tmat","followers_url":"https://api.github.com/users/tmat/followers","following_url":"https://api.github.com/users/tmat/following{/other_user}","gists_url":"https://api.github.com/users/tmat/gists{/gist_id}","starred_url":"https://api.github.com/users/tmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmat/subscriptions","organizations_url":"https://api.github.com/users/tmat/orgs","repos_url":"https://api.github.com/users/tmat/repos","events_url":"https://api.github.com/users/tmat/events{/privacy}","received_events_url":"https://api.github.com/users/tmat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-30T19:36:38Z","updated_at":"2015-04-30T19:36:38Z","closed_at":null,"body":"I’m using TestDriven.NET.\r\n1)\tRight-click on a test method and selecting “Run Test” works well for System.Reflection.Metadata tests. Good.\r\n2)\tRight-click on a test class or a test file reports an error in output:\r\nThe target type doesn't contain tests from a known test framework or a 'Main' method.\r\n3)\tRight-click on a test method and selecting “Test with … Debugger” freezes VS.\r\n\r\nTest Explorer doesn’t show any tests even after full solution build.\r\n\r\nTrying to set the test project as a startup project and F5 it.\r\n\r\nError:\r\n“The working directory does not exist: 'C:\\FX0\\bin\\tests\\Windows_NT.AnyCPU.Debug\\System.Reflection.Metadata.Tests\\dnxcore50'.”\r\n\r\nSeems like building the entire CoreFx repo fixes this issue (although I’m not quite sure). In any case I don’t want to build the entire repo to run a single test.\r\n\r\nCouldn’t get F5 work from Dev12 VS, yet the project is Dev12 VS. With Dev14 I was able to debug the test.\r\n\r\n\r\n"}}