Hello Falanga, Rod, DOH,
Welcome to Microsoft Q&A forum.
From looking at your error message,
No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
Looks like these packages are missing from the source provided in your Nuget.config
file at work.(Usually located at=>C:\Users\your user name\AppData\Roaming\NuGet)
Please try the followings:
1.Make sure you have the official NuGet package reference in the NuGet.config
file. You can add it by going to Tools -> NuGet Package Manager -> Package Manager Settings, selecting Package Sources, and adding https://api.nuget.org/v3/index.json
if it's not already there.
You can also run the command to list all configured NuGet sources configured in your work machine.
dotnet nuget list source
2.Click on "Clear All Nuget Cache(s)" via Tools->Options->Nuget Package Manger->General
Then select Allow Nuget to download missing packages
or run dotnet restore to install missing packages.
Best Regards,
Dou
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.