question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find Microsoft.NET.Sdk.Web

See original GitHub issue

Hi 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:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
livarcocccommented, Feb 16, 2017

Check your <user_profile>/.nuget/NuGet/NuGet.Config.

0reactions
stuartbloomcommented, Feb 17, 2017

Thanks gents, truns out the syncfunction site was a setting in my VS2017 for work. Going to clode this ticket now 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

The SDK 'Microsoft.NET.Sdk' specified could not be found. ...
The SDK 'Microsoft.NET.Sdk' specified could not be found. in Visual Studio Community 2022 version 17.5 · Right-click your project > Unload ...
Read more >
The SDK 'Microsoft.Net.Sdk.Web' specified could not be ...
This article describes how to fix "The SDK 'Microsoft.Net.Sdk.Web' specified could not be found" when creating ASP.NET Core 2.0 projects in ...
Read more >
net core - Visual studio 2017 Update 3 - The SDK 'Microsoft ...
I was running into an issue where creating a new ASP.NET Core 2.0 project was giving me an error The SDK 'Microsoft.Net.Sdk.Web' specified...
Read more >
Unable to locate the .NET SDK: The Reasons - Hamid Mosalla
Navigate to C:\Program Files\dotnet\sdk and see if you can find folders associated with different sdk versions. If you can't find any folder ...
Read more >
"Microsoft.NET.Sdk.Web could not be found" error
.NET Core - How to fix the "Microsoft.NET.Sdk.Web could not be found" error in Visual Studio 2017 · Install the right .NET Core...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found