{"action":"created","issue":{"url":"https://api.github.com/repos/cake-build/cake/issues/525","labels_url":"https://api.github.com/repos/cake-build/cake/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/cake-build/cake/issues/525/comments","events_url":"https://api.github.com/repos/cake-build/cake/issues/525/events","html_url":"https://github.com/cake-build/cake/issues/525","id":116996220,"number":525,"title":"How do I specify the version in the #tool directive?","user":{"login":"thomaslevesque","id":1864281,"avatar_url":"https://avatars.githubusercontent.com/u/1864281?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaslevesque","html_url":"https://github.com/thomaslevesque","followers_url":"https://api.github.com/users/thomaslevesque/followers","following_url":"https://api.github.com/users/thomaslevesque/following{/other_user}","gists_url":"https://api.github.com/users/thomaslevesque/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaslevesque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaslevesque/subscriptions","organizations_url":"https://api.github.com/users/thomaslevesque/orgs","repos_url":"https://api.github.com/users/thomaslevesque/repos","events_url":"https://api.github.com/users/thomaslevesque/events{/privacy}","received_events_url":"https://api.github.com/users/thomaslevesque/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-15T15:01:28Z","updated_at":"2015-11-20T21:52:13Z","closed_at":null,"body":"I'm using the `#tool` directive to reference the `NUnit.Runners` package:\r\n\r\n    #tool \"NUnit.Runners\"\r\n\r\nCurrently it picks version 2.6.4, which is what I want, so it's OK. But Is there a way to specify the version explicitly? Because when NUnit 3.0 is released (if this day ever comes), I might not want to update immediately..."},"comment":{"url":"https://api.github.com/repos/cake-build/cake/issues/comments/158535250","html_url":"https://github.com/cake-build/cake/issues/525#issuecomment-158535250","issue_url":"https://api.github.com/repos/cake-build/cake/issues/525","id":158535250,"user":{"login":"rprouse","id":493828,"avatar_url":"https://avatars.githubusercontent.com/u/493828?v=3","gravatar_id":"","url":"https://api.github.com/users/rprouse","html_url":"https://github.com/rprouse","followers_url":"https://api.github.com/users/rprouse/followers","following_url":"https://api.github.com/users/rprouse/following{/other_user}","gists_url":"https://api.github.com/users/rprouse/gists{/gist_id}","starred_url":"https://api.github.com/users/rprouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rprouse/subscriptions","organizations_url":"https://api.github.com/users/rprouse/orgs","repos_url":"https://api.github.com/users/rprouse/repos","events_url":"https://api.github.com/users/rprouse/events{/privacy}","received_events_url":"https://api.github.com/users/rprouse/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T21:52:13Z","updated_at":"2015-11-20T21:52:13Z","body":"@thomaslevesque, now that NUnit 3 has been released, I think a workaround for people who want to install 2.6.4 of the nunit.runner is to specify the specific version in your packages.config, not in the build script. See http://cakebuild.net/docs/tools/installing-tools\r\n\r\nAn NUnit 3 alias will hopefully be out soon, see #532. It will run v2 and v3 NUnit tests. You should change your tool statement to `#tool \"NUnit.Console\"` and use the new NUnit3 option once it is available."}}