Hi @Nikolaj Ravn ,
Try the following steps.
- Clear NuGet cache: Sometimes the NuGet cache can cause issues. Try clearing it by running the following command:
dotnet nuget locals all --clear
. - Check NuGet package source: Ensure that your NuGet package source is correctly configured and accessible. You can check the configured sources using:
dotnet nuget list source
. Make sure that the Microsoft NuGet feed is listed and enabled. If not, you can add it using:dotnet nuget add source -n nuget.org https://api.nuget.org/v3/index.json
. - Update NuGet CLI: Ensure that your NuGet CLI is up to date. You can update it using:
dotnet tool update --global dotnet-nuget
.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.