{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/5386","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/5386/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/5386/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/5386/events","html_url":"https://github.com/NuGet/Home/issues/5386","id":235108230,"number":5386,"title":"dotnet restore fails on Windows with .NET Core 2.0-preview1-005977","user":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars0.githubusercontent.com/u/367554?v=3","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-12T01:52:00Z","updated_at":"2017-06-13T17:11:30Z","closed_at":null,"body":"_From @martincostello on June 11, 2017 14:5_\n\n## Steps to reproduce\r\n\r\nClone the `DotNet-Core-2.0` branch of https://github.com/martincostello/website.git (see martincostello/website#194).\r\n\r\n## Expected  behavior\r\n\r\n`dotnet restore` completes successfully, after which the build and tests succeed.\r\n\r\n## Actual behavior\r\n\r\nOn Windows `dotnet restore` fails (see AppVeyor build [ere](https://ci.appveyor.com/project/martincostello/website/build/1.0.365#L108) and [here](https://ci.appveyor.com/project/martincostello/website/build/1.0.365#L340)):\r\n\r\n```ps\r\nC:\\projects\\website\\.dotnetcli\\sdk\\2.0.0-preview1-005977\\NuGet.targets(97,5): error : Unable to resolve 'C:\\projects\\website\\src\\Website\\Website.csproj' for '.NETCoreApp,Version=v2.0'. [C:\\projects\\website\\Website.sln]\r\n\r\nErrors in C:\\projects\\website\\tests\\Website.Tests\\Website.Tests.csproj\r\n    Unable to resolve 'C:\\projects\\website\\src\\Website\\Website.csproj' for '.NETCoreApp,Version=v2.0'.\r\n```\r\n\r\nOn Linux (see [Travis build](https://travis-ci.org/martincostello/website/builds/241732947)), the build succeeds as expected.\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n```\r\n.NET Command Line Tools (2.0.0-preview1-005977)\r\n\r\nProduct Information:\r\n Version:            2.0.0-preview1-005977\r\n Commit SHA-1 hash:  414cab8a0b\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.15063\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n Base Path:   C:\\Coding\\website\\.dotnetcli\\sdk\\2.0.0-preview1-005977\\\r\n\r\nMicrosoft .NET Core Shared Framework Host\r\n\r\n  Version  : 2.0.0-preview1-002111-00\r\n  Build    : 1ff021936263d492539399688f46fd3827169983\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n\n_Copied from original issue: dotnet/cli#6828_"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/308185093","html_url":"https://github.com/NuGet/Home/issues/5386#issuecomment-308185093","issue_url":"https://api.github.com/repos/NuGet/Home/issues/5386","id":308185093,"user":{"login":"emgarten","id":6381138,"avatar_url":"https://avatars1.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},"created_at":"2017-06-13T17:11:30Z","updated_at":"2017-06-13T17:11:30Z","body":"This error can occur when the project dependency project is invalid or when the file is missing on disk.\r\n\r\nI'm not able repro this locally when restoring. @martincostello are you seeing this locally, or only on appveyor?"}}
{"actor":{"display_login":"emgarten"}}