Cannot find Microsoft.NET.Sdk.Web
See original GitHub issueHi there, I have just installed the latest dot net, created a new application; the two files attached. TestApp.zip
I intend to make us of WebHostBuilder so I changed the csroj to include some references including Microsoft.NET.Sdk.Web, however, i get the following error when doing a restore `W Windows PowerShell Copyright © 2016 Microsoft Corporation. All rights reserved.
PS C:\Users\sbloom\TestApp> dotnet restore Restoring packages for C:\Users\sbloom\TestApp\TestApp.csproj… Retrying ‘FindPackagesByIdAsyncCore’ for source ‘http://nuget.syncfusion.com/aspnet/FindPackagesById()?id=‘Microsoft.NET.Sdk.Web’’. Response status code does not indicate success: 500 (Internal Server Error). Retrying ‘FindPackagesByIdAsyncCore’ for source ‘http://nuget.syncfusion.com/aspnet/FindPackagesById()?id=‘Microsoft.NET.Sdk.Web.ProjectSystem’’. Response status code does not indicate success: 500 (Internal Server Error). Retrying ‘FindPackagesByIdAsyncCore’ for source ‘http://nuget.syncfusion.com/aspnet/FindPackagesById()?id=‘Microsoft.NET.Sdk’’. Response status code does not indicate success: 500 (Internal Server Error). Retrying ‘FindPackagesByIdAsyncCore’ for source ‘http://nuget.syncfusion.com/aspnet/FindPackagesById()?id=‘Microsoft.NET.Sdk.Publish’’. Response status code does not indicate success: 500 (Internal Server Error). Retrying ‘FindPackagesByIdAsyncCore’ for source ‘http://nuget.syncfusion.com/aspnet/FindPackagesById()?id=‘Microsoft.NET.Sdk.Web’’. Response status code does not indicate success: 500 (Internal Server Error). Retrying ‘FindPackagesByIdAsyncCore’ for source ‘http://nuget.syncfusion.com/aspnet/FindPackagesById()?id=‘Microsoft.NET.Sdk.Web.ProjectSystem’’. Response status code does not indicate success: 500 (Internal Server Error). Retrying ‘FindPackagesByIdAsyncCore’ for source ‘http://nuget.syncfusion.com/aspnet/FindPackagesById()?id=‘Microsoft.NET.Sdk’’. Response status code does not indicate success: 500 (Internal Server Error). Retrying ‘FindPackagesByIdAsyncCore’ for source ‘http://nuget.syncfusion.com/aspnet/FindPackagesById()?id=‘Microsoft.NET.Sdk.Publish’’. Response status code does not indicate success: 500 (Internal Server Error). C:\Program Files\dotnet\sdk\1.0.0-rc3-004530\NuGet.targets(97,5): error : Failed to retrieve information about ‘Microsoft.NET.Sdk’ from remote source ‘http://nuget.syncfusion.com/aspnet/FindPackagesByI d()?id=‘Microsoft.NET.Sdk’’.\r [C:\Users\sbloom\TestApp\TestApp.csproj] C:\Program Files\dotnet\sdk\1.0.0-rc3-004530\NuGet.targets(97,5): error : Response status code does not indicate success: 500 (Internal Server Error). [C:\Users\sbloom\TestApp\TestApp.csproj] PS C:\Users\sbloom\TestApp`
Any help would be most appreciated
Stuart
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
Check your <user_profile>/.nuget/NuGet/NuGet.Config.
Thanks gents, truns out the syncfunction site was a setting in my VS2017 for work. Going to clode this ticket now 😃