{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/6523","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/6523/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/6523/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/6523/events","html_url":"https://github.com/dotnet/cli/issues/6523","id":226492376,"number":6523,"title":"dotnet restore failed on Ubuntu 16.04","user":{"login":"shimingsg","id":20982341,"avatar_url":"https://avatars0.githubusercontent.com/u/20982341?v=3","gravatar_id":"","url":"https://api.github.com/users/shimingsg","html_url":"https://github.com/shimingsg","followers_url":"https://api.github.com/users/shimingsg/followers","following_url":"https://api.github.com/users/shimingsg/following{/other_user}","gists_url":"https://api.github.com/users/shimingsg/gists{/gist_id}","starred_url":"https://api.github.com/users/shimingsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimingsg/subscriptions","organizations_url":"https://api.github.com/users/shimingsg/orgs","repos_url":"https://api.github.com/users/shimingsg/repos","events_url":"https://api.github.com/users/shimingsg/events{/privacy}","received_events_url":"https://api.github.com/users/shimingsg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-05T07:19:03Z","updated_at":"2017-05-05T17:47:56Z","closed_at":null,"body":"## Steps to reproduce\r\n1. on clean VM, sudo apt-get install unzip libunwind8 gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev uuid-dev\r\n2. wget -O ~/20170505-dotnet-dev-linux-x64.latest.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.0.0/dotnet-dev-linux-x64.latest.tar.gz\r\n3. mkdir -p ~/20170505\r\n4. tar -xf 20170505-dotnet-dev-linux-x64.latest.tar.gz -C ~/20170505/\r\n5. export PATH=~/20170505:$PATH\r\n6. dotnet --info\r\n7. mkdir -p ~/HelloWorld\r\n8. cd ~/HelloWorld\r\n9. dotnet new console\r\n\r\n\r\n## Expected  behavior\r\nCreate project successfully and restore succeeded\r\n\r\n## Actual behavior\r\ne2euser@E2E-Ubuntu1604s:~/HelloWorld$ dotnet new console\r\nThe template \"Console Application\" was created successfully.\r\n\r\nProcessing post-creation actions...\r\nRunning 'dotnet restore' on /home/e2euser/HelloWorld/HelloWorld.csproj...\r\nRestore failed.\r\nOutput from command:\r\n  Restoring packages for /home/e2euser/HelloWorld/HelloWorld.csproj...\r\n/home/e2euser/20170505/sdk/2.0.0-preview1-005957/NuGet.targets(97,5): error : Un                                                                                                 able to load the service index for source https://dotnet.myget.org/F/dotnet-core                                                                                                 /api/v3/index.json. [/home/e2euser/HelloWorld/HelloWorld.csproj]\r\n/home/e2euser/20170505/sdk/2.0.0-preview1-005957/NuGet.targets(97,5): error :                                                                                                    The type initializer for 'System.Net.Http.CurlHandler' threw an exception. [/hom                                                                                                 e/e2euser/HelloWorld/HelloWorld.csproj]\r\n/home/e2euser/20170505/sdk/2.0.0-preview1-005957/NuGet.targets(97,5): error :                                                                                                    The type initializer for 'Http' threw an exception. [/home/e2euser/HelloWorld/He                                                                                                 lloWorld.csproj]\r\n/home/e2euser/20170505/sdk/2.0.0-preview1-005957/NuGet.targets(97,5): error :                                                                                                    The type initializer for 'HttpInitializer' threw an exception. [/home/e2euser/He                                                                                                 lloWorld/HelloWorld.csproj]\r\n/home/e2euser/20170505/sdk/2.0.0-preview1-005957/NuGet.targets(97,5): error :                                                                                                    Unable to load DLL 'System.Net.Http.Native': The specified module or one of its                                                                                                  dependencies could not be found. [/home/e2euser/HelloWorld/HelloWorld.csproj]\r\n/home/e2euser/20170505/sdk/2.0.0-preview1-005957/NuGet.targets(97,5): error :                                                                                                     (Exception from HRESULT: 0x8007007E) [/home/e2euser/HelloWorld/HelloWorld.cspro                                                                                                 j]\r\n\r\n\r\n\r\n\r\n\r\n\r\nPost action failed.\r\nDescription: Restore NuGet packages required by this project.\r\nManual instructions: Run 'dotnet restore'\r\n\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n.NET Command Line Tools (2.0.0-preview1-005957)\r\n\r\nProduct Information:\r\n Version:            2.0.0-preview1-005957\r\n Commit SHA-1 hash:  056ac0e9cd\r\n\r\nRuntime Environment:\r\n OS Name:     ubuntu\r\n OS Version:  16.04\r\n OS Platform: Linux\r\n RID:         ubuntu.16.04-x64\r\n Base Path:   /home/e2euser/20170505/sdk/2.0.0-preview1-005957/\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"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/299530746","html_url":"https://github.com/dotnet/cli/issues/6523#issuecomment-299530746","issue_url":"https://api.github.com/repos/dotnet/cli/issues/6523","id":299530746,"user":{"login":"wli3","id":6993335,"avatar_url":"https://avatars2.githubusercontent.com/u/6993335?v=3","gravatar_id":"","url":"https://api.github.com/users/wli3","html_url":"https://github.com/wli3","followers_url":"https://api.github.com/users/wli3/followers","following_url":"https://api.github.com/users/wli3/following{/other_user}","gists_url":"https://api.github.com/users/wli3/gists{/gist_id}","starred_url":"https://api.github.com/users/wli3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wli3/subscriptions","organizations_url":"https://api.github.com/users/wli3/orgs","repos_url":"https://api.github.com/users/wli3/repos","events_url":"https://api.github.com/users/wli3/events{/privacy}","received_events_url":"https://api.github.com/users/wli3/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T17:47:56Z","updated_at":"2017-05-05T17:47:56Z","body":"@eerhardt sorry, it should be dotnet-sdk-xxx"}}
{"actor":{"display_login":"wli3"}}