{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/2553","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/2553/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/2553/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/2553/events","html_url":"https://github.com/NuGet/Home/issues/2553","id":148553705,"number":2553,"title":"Build fails claiming I'm missing 'win' as targeted runtime (regression in v3.4.2.830)","user":{"login":"AArnott","id":3548,"avatar_url":"https://avatars.githubusercontent.com/u/3548?v=3","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NuGet/Home/labels/Area:CommandLine","name":"Area:CommandLine","color":"159818"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/NuGet/Home/milestones/29","html_url":"https://github.com/NuGet/Home/milestones/3.4.3","labels_url":"https://api.github.com/repos/NuGet/Home/milestones/29/labels","id":1698428,"number":29,"title":"3.4.3","description":"","creator":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":18,"state":"open","created_at":"2016-04-11T17:12:53Z","updated_at":"2016-04-20T21:52:48Z","due_on":"2016-04-23T07:00:00Z","closed_at":null},"comments":4,"created_at":"2016-04-15T04:43:43Z","updated_at":"2016-04-20T22:06:43Z","closed_at":"2016-04-16T05:44:48Z","body":"With nuget.exe 3.4.2.830, after a restore the build fails, claiming I'm missing something from my project.json that in fact *is there*. Earlier versions of nuget.exe do not have this bug.\r\n\r\n```\r\ngit clone https://github.com/AArnott/pinvoke.git\r\ncd pinvoke\r\ngit checkout 39b6f721395a\r\ncd src\r\nnuget restore\r\nmsbuild Kernel32.Tests.Portable\\Kernel32.Tests.Portable.csproj\r\n```\r\n\r\n**Expected**\r\n\r\nA successful build. As I see with NuGet.exe 3.3.\r\n\r\n**Actual**\r\n\r\n```\r\n  CodeGenerationAttributes -> C:\\Users\\andarno\\git\\pinvoke\\bin\\Debug\\Profile92\\CodeGenerationAttributes.dll\r\n  CodeGeneration -> C:\\Users\\andarno\\git\\pinvoke\\bin\\Debug\\Desktop\\CodeGeneration.dll\r\n  Windows.Core -> C:\\Users\\andarno\\git\\pinvoke\\bin\\Debug\\Profile92\\PInvoke.Windows.Core.dll\r\n  Kernel32 -> C:\\Users\\andarno\\git\\pinvoke\\bin\\Debug\\Profile92\\PInvoke.Kernel32.dll\r\nC:\\Program Files (x86)\\MSBuild\\Microsoft\\NuGet\\Microsoft.NuGet.targets(140,5): error : Your project.json doesn't list 'win' as a targeted runtime. You should add '\"win\": { }' inside your \"runtimes\" section in your project.json, and then re-run NuGet restore. [C:\\Users\\andarno\\git\\pinvoke\\src\\Kernel32.Tests.Portable\\Kernel32.Tests.Portable.csproj]\r\n```"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/212629207","html_url":"https://github.com/NuGet/Home/issues/2553#issuecomment-212629207","issue_url":"https://api.github.com/repos/NuGet/Home/issues/2553","id":212629207,"user":{"login":"piotrpMSFT","id":2379589,"avatar_url":"https://avatars.githubusercontent.com/u/2379589?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrpMSFT","html_url":"https://github.com/piotrpMSFT","followers_url":"https://api.github.com/users/piotrpMSFT/followers","following_url":"https://api.github.com/users/piotrpMSFT/following{/other_user}","gists_url":"https://api.github.com/users/piotrpMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrpMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrpMSFT/subscriptions","organizations_url":"https://api.github.com/users/piotrpMSFT/orgs","repos_url":"https://api.github.com/users/piotrpMSFT/repos","events_url":"https://api.github.com/users/piotrpMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/piotrpMSFT/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T22:06:43Z","updated_at":"2016-04-20T22:06:43Z","body":":eyes: "}}