{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/1650","repository_url":"https://api.github.com/repos/nunit/nunit","labels_url":"https://api.github.com/repos/nunit/nunit/issues/1650/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/1650/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/1650/events","html_url":"https://github.com/nunit/nunit/issues/1650","id":164115212,"number":1650,"title":"Can't load 'System.Runtime' assembly from 'nunit3-console' but can from 'NUnit3TestAdapter'","user":{"login":"jcansdale","id":11719160,"avatar_url":"https://avatars.githubusercontent.com/u/11719160?v=3","gravatar_id":"","url":"https://api.github.com/users/jcansdale","html_url":"https://github.com/jcansdale","followers_url":"https://api.github.com/users/jcansdale/followers","following_url":"https://api.github.com/users/jcansdale/following{/other_user}","gists_url":"https://api.github.com/users/jcansdale/gists{/gist_id}","starred_url":"https://api.github.com/users/jcansdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcansdale/subscriptions","organizations_url":"https://api.github.com/users/jcansdale/orgs","repos_url":"https://api.github.com/users/jcansdale/repos","events_url":"https://api.github.com/users/jcansdale/events{/privacy}","received_events_url":"https://api.github.com/users/jcansdale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-06T16:13:16Z","updated_at":"2016-07-06T18:16:28Z","closed_at":null,"body":"The following test fails when run with 'nunit3-console.exe', but passes with NUnit3TestAdapter or TestDriven.Net. I've been stuck on this for a while and can't figure out what's different in the console environment!\r\n\r\n```\r\n[Test]\r\npublic void LoadSystemRuntime()\r\n{\r\n    Assert.DoesNotThrow(() =>\r\n        Assembly.Load(\"System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\")\r\n    );\r\n}\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/230858792","html_url":"https://github.com/nunit/nunit/issues/1650#issuecomment-230858792","issue_url":"https://api.github.com/repos/nunit/nunit/issues/1650","id":230858792,"user":{"login":"jcansdale","id":11719160,"avatar_url":"https://avatars.githubusercontent.com/u/11719160?v=3","gravatar_id":"","url":"https://api.github.com/users/jcansdale","html_url":"https://github.com/jcansdale","followers_url":"https://api.github.com/users/jcansdale/followers","following_url":"https://api.github.com/users/jcansdale/following{/other_user}","gists_url":"https://api.github.com/users/jcansdale/gists{/gist_id}","starred_url":"https://api.github.com/users/jcansdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcansdale/subscriptions","organizations_url":"https://api.github.com/users/jcansdale/orgs","repos_url":"https://api.github.com/users/jcansdale/repos","events_url":"https://api.github.com/users/jcansdale/events{/privacy}","received_events_url":"https://api.github.com/users/jcansdale/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T18:16:28Z","updated_at":"2016-07-06T18:16:28Z","body":"It's actually not specific to the nunit-console app. The same thing happens if you call it directly from a console application project.\r\n\r\n`\r\n{\"Could not load file or assembly 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.\":\"System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"}\r\n`\r\n\r\nWhat I can't figure out it why it works when called from inside the Visual Studio or TestDriven runners. I don't think it's to do with the Target Framework, x64/x86 or thread apartment model. There must be some other magic going on."}}
{"actor":{"display_login":"jcansdale"}}