{"action":"opened","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/3795","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/3795/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/3795/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/3795/events","html_url":"https://github.com/NuGet/Home/issues/3795","id":185579770,"number":3795,"title":"MSBuild restore target fails due to incorrect version of json.net","user":{"login":"emgarten","id":6381138,"avatar_url":"https://avatars.githubusercontent.com/u/6381138?v=3","gravatar_id":"","url":"https://api.github.com/users/emgarten","html_url":"https://github.com/emgarten","followers_url":"https://api.github.com/users/emgarten/followers","following_url":"https://api.github.com/users/emgarten/following{/other_user}","gists_url":"https://api.github.com/users/emgarten/gists{/gist_id}","starred_url":"https://api.github.com/users/emgarten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emgarten/subscriptions","organizations_url":"https://api.github.com/users/emgarten/orgs","repos_url":"https://api.github.com/users/emgarten/repos","events_url":"https://api.github.com/users/emgarten/events{/privacy}","received_events_url":"https://api.github.com/users/emgarten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-27T05:57:29Z","updated_at":"2016-10-27T05:57:29Z","closed_at":null,"body":"\r\n### Steps\r\n\r\n1. Create a new .NETCore console app\r\n1. Open a developer command prompt\r\n1. ``msbuild /t:Restore myApp.csproj``\r\n\r\n### Expected\r\nProject will restore without errors\r\n\r\n### Actual\r\nThe build task expects newtonsoft.json 6.0.x but the VSIX contains 8.0.x\r\n\r\n```\r\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\NuGet\\NuGet.targe\r\nts(70,5): error MSB4018: The \"RestoreTask\" task failed unexpectedly.\\r [c:\\Users\\user\\Documents\\Visual Studio 2017\\Pro\r\njects\\App2\\app1\\App1.csproj]\r\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\NuGet\\NuGet.targe\r\nts(70,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0\r\n.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file spe\r\ncified.\\r [c:\\Users\\user\\Documents\\Visual Studio 2017\\Projects\\App2\\app1\\App1.csproj]\r\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\NuGet\\NuGet.targe\r\nts(70,5): error MSB4018: File name: 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed\r\n'\\r [c:\\Users\\user\\Documents\\Visual Studio 2017\\Projects\\App2\\app1\\App1.csproj]\r\n```"}}
{"actor":{"display_login":"emgarten"}}