{"action":"created","issue":{"url":"https://api.github.com/repos/scriptcs/scriptcs/issues/688","labels_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/688/comments","events_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/688/events","html_url":"https://github.com/scriptcs/scriptcs/issues/688","id":33382661,"number":688,"title":"Microsoft.Bcl requires newer NuGet version","user":{"login":"paulbouwer","id":318622,"avatar_url":"https://avatars.githubusercontent.com/u/318622?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbouwer","html_url":"https://github.com/paulbouwer","followers_url":"https://api.github.com/users/paulbouwer/followers","following_url":"https://api.github.com/users/paulbouwer/following{/other_user}","gists_url":"https://api.github.com/users/paulbouwer/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbouwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbouwer/subscriptions","organizations_url":"https://api.github.com/users/paulbouwer/orgs","repos_url":"https://api.github.com/users/paulbouwer/repos","events_url":"https://api.github.com/users/paulbouwer/events{/privacy}","received_events_url":"https://api.github.com/users/paulbouwer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scriptcs/scriptcs/labels/investigate","name":"investigate","color":"f1b2f8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-05-13T09:42:52Z","updated_at":"2015-03-07T16:20:35Z","closed_at":null,"body":"Using the current `v0.9.0` version of scriptcs, I get the following error when trying to install the Azure Management Libraries NuGet package:\r\n\r\n```\r\n> scriptcs -install Microsoft.WindowsAzure.Management.Libraries\r\nINFO: Installing packages...\r\nERROR: Installation failed: Microsoft.WindowsAzure.Management.Libraries\r\nERROR: The 'Microsoft.Bcl 1.1.9' package requires NuGet client version '2.8.1' or above, but the current NuGet version is '2.7.40808.167'.\r\nINFO: Installation completed successfully.\r\nINFO: Saving packages in packages.config...\r\nINFO: Packages directory does not exist!\r\n```\r\n\r\nI've had a few people ask me about this since my `ScriptCs.AzureManagement` Script Pack does the same. It seems as though the newer `Microsoft.Bcl` NuGet packages require `NuGet 2.8`.\r\n\r\nThe `dev` branch of scriptcs does not have this issue since it has upgraded NuGet.Core to `2.8.5`. This solves the problem but I'm not convinced that people should have to run a nightly build to be able to install NuGet packages without error. If it makes sense could we release a `v0.9.1` version of scriptcs with this update?\r\n\r\nI have created a branch off `master` and upgraded `NuGet.Core` to `2.8`. I have brought across the minimum set of changes from `dev` to ensure that this still works. \r\n\r\nAll the tests are green. I've also tested install, restore, restore on run, save and clean and all work as expected."},"comment":{"url":"https://api.github.com/repos/scriptcs/scriptcs/issues/comments/77696139","html_url":"https://github.com/scriptcs/scriptcs/issues/688#issuecomment-77696139","issue_url":"https://api.github.com/repos/scriptcs/scriptcs/issues/688","id":77696139,"user":{"login":"adamralph","id":677704,"avatar_url":"https://avatars.githubusercontent.com/u/677704?v=3","gravatar_id":"","url":"https://api.github.com/users/adamralph","html_url":"https://github.com/adamralph","followers_url":"https://api.github.com/users/adamralph/followers","following_url":"https://api.github.com/users/adamralph/following{/other_user}","gists_url":"https://api.github.com/users/adamralph/gists{/gist_id}","starred_url":"https://api.github.com/users/adamralph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamralph/subscriptions","organizations_url":"https://api.github.com/users/adamralph/orgs","repos_url":"https://api.github.com/users/adamralph/repos","events_url":"https://api.github.com/users/adamralph/events{/privacy}","received_events_url":"https://api.github.com/users/adamralph/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T16:20:35Z","updated_at":"2015-03-07T16:20:35Z","body":"@paulbouwer is this still an issue? scriptcs is now using NuGet.Core 2.8.2 (although we do now have the opportunity to move to 2.8.3)."}}