Visual Studio 2019 Nuget Problem Çözümü

  1. Right click on the project and choose Manage NuGet packages.

enter image description here

  1. Click on the settings cog in the top right corner of the Nuget packages tab.

enter image description here

  • In the settings dialog (as shown in the screenshot in the question), click on the + button.
  • Give the new source a name and a source of

https://api.nuget.org/v3/index.json

enter image description here

AYRICA 

Assets file project.assets.json not found. Run a NuGet package restore hatasi varsa

 

To fix this error from Tools > NuGet Package Manager > Package Manager Console simply run:

dotnet restore

The error occurs because the dotnet cli does not create the all of the required files initially. Doing dotnet restore adds the required files.

Etiketler