{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/1015","labels_url":"https://api.github.com/repos/nunit/nunit/issues/1015/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/1015/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/1015/events","html_url":"https://github.com/nunit/nunit/issues/1015","id":115997027,"number":1015,"title":"Specifying .nunit project and --framework on command line causes nunit3-console.exe to crash.","user":{"login":"staticcat","id":2058893,"avatar_url":"https://avatars.githubusercontent.com/u/2058893?v=3","gravatar_id":"","url":"https://api.github.com/users/staticcat","html_url":"https://github.com/staticcat","followers_url":"https://api.github.com/users/staticcat/followers","following_url":"https://api.github.com/users/staticcat/following{/other_user}","gists_url":"https://api.github.com/users/staticcat/gists{/gist_id}","starred_url":"https://api.github.com/users/staticcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staticcat/subscriptions","organizations_url":"https://api.github.com/users/staticcat/orgs","repos_url":"https://api.github.com/users/staticcat/repos","events_url":"https://api.github.com/users/staticcat/events{/privacy}","received_events_url":"https://api.github.com/users/staticcat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nunit/nunit/labels/closed:done","name":"closed:done","color":"009800"},{"url":"https://api.github.com/repos/nunit/nunit/labels/is:bug","name":"is:bug","color":"fc2929"},{"url":"https://api.github.com/repos/nunit/nunit/labels/pri:high","name":"pri:high","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"CharliePoole","id":2678661,"avatar_url":"https://avatars.githubusercontent.com/u/2678661?v=3","gravatar_id":"","url":"https://api.github.com/users/CharliePoole","html_url":"https://github.com/CharliePoole","followers_url":"https://api.github.com/users/CharliePoole/followers","following_url":"https://api.github.com/users/CharliePoole/following{/other_user}","gists_url":"https://api.github.com/users/CharliePoole/gists{/gist_id}","starred_url":"https://api.github.com/users/CharliePoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharliePoole/subscriptions","organizations_url":"https://api.github.com/users/CharliePoole/orgs","repos_url":"https://api.github.com/users/CharliePoole/repos","events_url":"https://api.github.com/users/CharliePoole/events{/privacy}","received_events_url":"https://api.github.com/users/CharliePoole/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nunit/nunit/milestones/18","html_url":"https://github.com/nunit/nunit/milestones/3.0-RC-3","labels_url":"https://api.github.com/repos/nunit/nunit/milestones/18/labels","id":1408808,"number":18,"title":"3.0-RC-3","description":"","creator":{"login":"CharliePoole","id":2678661,"avatar_url":"https://avatars.githubusercontent.com/u/2678661?v=3","gravatar_id":"","url":"https://api.github.com/users/CharliePoole","html_url":"https://github.com/CharliePoole","followers_url":"https://api.github.com/users/CharliePoole/followers","following_url":"https://api.github.com/users/CharliePoole/following{/other_user}","gists_url":"https://api.github.com/users/CharliePoole/gists{/gist_id}","starred_url":"https://api.github.com/users/CharliePoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharliePoole/subscriptions","organizations_url":"https://api.github.com/users/CharliePoole/orgs","repos_url":"https://api.github.com/users/CharliePoole/repos","events_url":"https://api.github.com/users/CharliePoole/events{/privacy}","received_events_url":"https://api.github.com/users/CharliePoole/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"closed","created_at":"2015-11-12T16:55:12Z","updated_at":"2015-11-15T23:14:58Z","due_on":"2015-11-13T08:00:00Z","closed_at":"2015-11-14T13:38:55Z"},"comments":6,"created_at":"2015-11-10T00:13:28Z","updated_at":"2015-12-22T21:00:29Z","closed_at":"2015-11-13T15:58:24Z","body":"The command line that is run:\r\n```ShellSession\r\nC:\\Program Files (x86)\\NUnit.org\\nunit-console\\nunit3-console.exe\" \"I:\\OpenSource\\GitHub\\nunit\\EngineAndConsoleTests.nunit\" --trace=verbose --framework=v3.0\r\n```\r\nThe output that is received. \r\n\r\n```ShellSession\r\nNUnit Console Runner 3.0.5790\r\nCopyright (C) 2015 Charlie Poole\r\n\r\nRuntime Environment\r\n   OS Version: Microsoft Windows NT 6.3.9600.0\r\n  CLR Version: 4.0.30319.42000\r\n\r\nTest Files\r\n    I:\\OpenSource\\GitHub\\nunit\\EngineAndConsoleTests.nunit\r\n\r\nCould not load file or assembly 'nunit.framework' or one of its dependencies. The system cannot find the file specified.\r\n```\r\nRunning the command line with the test library directly and the framework specified gives. \r\n```ShellSession\r\nC:\\Program Files (x86)\\NUnit.org\\nunit-console\\nunit3-console.exe\" \"I:\\OpenSource\\GitHub\\nunit\\bin\\Debug\\nunit.engine.tests.dll\" --trace=verbose --framework=v3.0\r\n```\r\n\r\n```ShellSession\r\nNUnit Console Runner 3.0.5790\r\nCopyright (C) 2015 Charlie Poole\r\n\r\nRuntime Environment\r\n   OS Version: Microsoft Windows NT 6.3.9600.0\r\n  CLR Version: 4.0.30319.42000\r\n\r\nTest Files\r\n    I:\\OpenSource\\GitHub\\nunit\\bin\\Debug\\nunit.engine.tests.dll\r\n\r\n=> NUnit.Engine.Tests.RuntimeFrameworkTests.CanListAvailableFrameworks\r\nAvailable: Net 2.0.50727\r\nAvailable: Net 3.0\r\nAvailable: Net 3.5\r\nAvailable: Net 4.0 - Full\r\nAvailable: Net 4.5 - Full\r\nAvailable: Net 4.0 - Client\r\nAvailable: Net 4.5 - Client\r\nAvailable: Net 4.0 - Client\r\n\r\nErrors and Failures\r\n...\r\n```\r\nI am not certain if this is by design, and NUnit is simply missing a guard condition to not allow .nunit projects to not be specified with the framework option.\r\n\r\nShould the framework command be allowed to be specified with a nunit project, or is this an invalid test of the feature? I also have a sense that the error being reported is a path issue with the tests files themselves. "},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/166728385","html_url":"https://github.com/nunit/nunit/issues/1015#issuecomment-166728385","issue_url":"https://api.github.com/repos/nunit/nunit/issues/1015","id":166728385,"user":{"login":"Roemer","id":393641,"avatar_url":"https://avatars.githubusercontent.com/u/393641?v=3","gravatar_id":"","url":"https://api.github.com/users/Roemer","html_url":"https://github.com/Roemer","followers_url":"https://api.github.com/users/Roemer/followers","following_url":"https://api.github.com/users/Roemer/following{/other_user}","gists_url":"https://api.github.com/users/Roemer/gists{/gist_id}","starred_url":"https://api.github.com/users/Roemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roemer/subscriptions","organizations_url":"https://api.github.com/users/Roemer/orgs","repos_url":"https://api.github.com/users/Roemer/repos","events_url":"https://api.github.com/users/Roemer/events{/privacy}","received_events_url":"https://api.github.com/users/Roemer/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T21:00:29Z","updated_at":"2015-12-22T21:00:29Z","body":"I don't really get it. The nunit.framework.dll sits beside each assembly I want to test. So when giving the  assemblies directly to nunit3-console.exe it seems to use the path of the assembly to test as appbase. So each assembly there has it's own appbase. I don't see a way to do this with the .nunit file. Only a global appbase which is for all assemblies."}}