{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/testfx/issues/241","repository_url":"https://api.github.com/repos/Microsoft/testfx","labels_url":"https://api.github.com/repos/Microsoft/testfx/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/testfx/issues/241/comments","events_url":"https://api.github.com/repos/Microsoft/testfx/issues/241/events","html_url":"https://github.com/Microsoft/testfx/issues/241","id":249871257,"number":241,"title":"Test Explorer fails to show tests. Tests output: \"The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)\"","user":{"login":"Jehoel","id":1693078,"avatar_url":"https://avatars1.githubusercontent.com/u/1693078?v=4","gravatar_id":"","url":"https://api.github.com/users/Jehoel","html_url":"https://github.com/Jehoel","followers_url":"https://api.github.com/users/Jehoel/followers","following_url":"https://api.github.com/users/Jehoel/following{/other_user}","gists_url":"https://api.github.com/users/Jehoel/gists{/gist_id}","starred_url":"https://api.github.com/users/Jehoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jehoel/subscriptions","organizations_url":"https://api.github.com/users/Jehoel/orgs","repos_url":"https://api.github.com/users/Jehoel/repos","events_url":"https://api.github.com/users/Jehoel/events{/privacy}","received_events_url":"https://api.github.com/users/Jehoel/received_events","type":"User","site_admin":false},"labels":[{"id":420464980,"url":"https://api.github.com/repos/Microsoft/testfx/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"smadala","id":4337332,"avatar_url":"https://avatars1.githubusercontent.com/u/4337332?v=4","gravatar_id":"","url":"https://api.github.com/users/smadala","html_url":"https://github.com/smadala","followers_url":"https://api.github.com/users/smadala/followers","following_url":"https://api.github.com/users/smadala/following{/other_user}","gists_url":"https://api.github.com/users/smadala/gists{/gist_id}","starred_url":"https://api.github.com/users/smadala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smadala/subscriptions","organizations_url":"https://api.github.com/users/smadala/orgs","repos_url":"https://api.github.com/users/smadala/repos","events_url":"https://api.github.com/users/smadala/events{/privacy}","received_events_url":"https://api.github.com/users/smadala/received_events","type":"User","site_admin":false},"assignees":[{"login":"smadala","id":4337332,"avatar_url":"https://avatars1.githubusercontent.com/u/4337332?v=4","gravatar_id":"","url":"https://api.github.com/users/smadala","html_url":"https://github.com/smadala","followers_url":"https://api.github.com/users/smadala/followers","following_url":"https://api.github.com/users/smadala/following{/other_user}","gists_url":"https://api.github.com/users/smadala/gists{/gist_id}","starred_url":"https://api.github.com/users/smadala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smadala/subscriptions","organizations_url":"https://api.github.com/users/smadala/orgs","repos_url":"https://api.github.com/users/smadala/repos","events_url":"https://api.github.com/users/smadala/events{/privacy}","received_events_url":"https://api.github.com/users/smadala/received_events","type":"User","site_admin":false}],"milestone":null,"comments":75,"created_at":"2017-08-13T12:38:09Z","updated_at":"2018-02-23T19:29:02Z","closed_at":null,"author_association":"NONE","body":"## Description\r\n\r\nI cloned a private Git repo on my local machine. The solution comprises of several projects all targeting .NET 4.6.2. I built the solution which pulled-in some NuGet packages, including `MSTest.TestAdapter, 1.1.18` and `MSTest.TestFramework, 1.1.18`. There is a test project in the solution with several `[TestClass]`/`[TestMethod]` tests. The solution builds successfully, however the Test Explorer window is empty. On a coworker's machine running VS2015 the Test Explorer is populated correctly.\r\n\r\nIn the Output window's Test output I see the following:\r\n\r\n> ------ Discover test started ------\r\n> The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)\r\n> ========== Discover test finished: 0 found (0:00:00.1886778) ==========\r\n\r\n\r\n## Steps to reproduce\r\n\r\nI have no specific reproduction steps - it happened spontaneously on my machine. Restarting VS, cleaning the project output and `TestResults` directory, and closing+reopening the Test Explorer window has no effect.\r\n\r\n## Expected behavior\r\nThe tests in the project should appear in Test Explorer.\r\n\r\n## Actual behavior\r\nNo tests appear in Test Explorer, and an error message in the Output window.\r\n\r\n## Environment\r\n> Please share additional details about the test environment.\r\n> Operating system, Build version of vstest.console, Package version of MSTest\r\n> framework and adapter\r\n\r\n- Windows 10 x64 Enterprise, Creators Update\r\n- Visual Studio 2017 Enterprise, 15.2\r\n- MSTest package version 1.1.18\r\n- Projects targeting .NET 4.6.2\r\n- I have two copies of `vstest.console` installed:\r\n  - `C:\\Program Files (x86)\\Microsoft Visual Studio 15.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow\\vstest.console.exe` - `15.0.26228.0` - 142KB\r\n  - `C:\\Program Files (x86)\\Microsoft Visual Studio 15.0\\Common7\\IDE\\Extensions\\TestPlatform\\vstest.console.exe` - `15.0.0.0` - 117KB\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/testfx/issues/comments/368114612","html_url":"https://github.com/Microsoft/testfx/issues/241#issuecomment-368114612","issue_url":"https://api.github.com/repos/Microsoft/testfx/issues/241","id":368114612,"user":{"login":"spottedmahn","id":14079228,"avatar_url":"https://avatars0.githubusercontent.com/u/14079228?v=4","gravatar_id":"","url":"https://api.github.com/users/spottedmahn","html_url":"https://github.com/spottedmahn","followers_url":"https://api.github.com/users/spottedmahn/followers","following_url":"https://api.github.com/users/spottedmahn/following{/other_user}","gists_url":"https://api.github.com/users/spottedmahn/gists{/gist_id}","starred_url":"https://api.github.com/users/spottedmahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spottedmahn/subscriptions","organizations_url":"https://api.github.com/users/spottedmahn/orgs","repos_url":"https://api.github.com/users/spottedmahn/repos","events_url":"https://api.github.com/users/spottedmahn/events{/privacy}","received_events_url":"https://api.github.com/users/spottedmahn/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T19:29:02Z","updated_at":"2018-02-23T19:29:02Z","author_association":"NONE","body":"So the tests are discovered by but not runnable.  Did you try running that test?\r\n\r\n![image](https://user-images.githubusercontent.com/14079228/36612883-da502710-18a5-11e8-8b21-df8f0adcecaf.png)\r\n\r\n**Test Output Window**\r\n>[2/23/2018 2:25:01 PM Informational] ------ Load Playlist started ------\r\n[2/23/2018 2:25:01 PM Informational] ========== Load Playlist finished (0:00:00.0025067) ==========\r\n[2/23/2018 2:25:27 PM Informational] ------ Discover test started ------\r\n[2/23/2018 2:25:31 PM Warning] [MSTest][Discovery][C:\\Users\\mdepouw\\source\\repos\\GitHub\\spottedmahn\\Experiments\\Test Explorer fails to show tests\\ClassLibrary.Tests\\bin\\Debug\\ClassLibrary.Tests.dll] The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)\r\n[2/23/2018 2:25:31 PM Informational] ========== Discover test finished: 0 found (0:00:04.0140926) ==========\r\n[2/23/2018 2:26:31 PM Informational] ------ Run test started ------\r\n[2/23/2018 2:26:32 PM Warning] [MSTest][Discovery][C:\\Users\\mdepouw\\source\\repos\\GitHub\\spottedmahn\\Experiments\\Test Explorer fails to show tests\\ClassLibrary.Tests\\bin\\Debug\\ClassLibrary.Tests.dll] The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)\r\n[2/23/2018 2:26:32 PM Warning] No test is available in C:\\Users\\mdepouw\\source\\repos\\GitHub\\spottedmahn\\Experiments\\Test Explorer fails to show tests\\ClassLibrary.Tests\\bin\\Debug\\ClassLibrary.Tests.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.\r\n[2/23/2018 2:26:32 PM Informational] ========== Run test finished: 0 run (0:00:01.1369673) =========="}}
{"actor":{"display_login":"spottedmahn"}}