I am facing an issue with a class lib project where I'm trying to remove the Microsoft.Bcl.Interfaces
package. Although the package is not listed in the .csproj file, it still appears as installed in the NuGet Solution Manager, and I cannot uninstall it. I receive the following error when trying to restore packages or build the project:
Error NuGet Package restore failed for project [ProjectName]: Unable to find version '7.0.0' of package 'Microsoft.Bcl.Interfaces'.C:\Program Files (x86)\Microsoft SDKs\NuGetPackages: Package 'Microsoft.Bcl.Interfaces.7.0.0' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages'.https://api.nuget.org/v3/index.json: Package 'Microsoft.Bcl.Interfaces.7.0.0' is not found on source 'https://api.nuget.org/v3/index.json'.
I have already tried manually clearing the NuGet cache.
Could someone help me understand why this error is occurring and how I can resolve it?
Edit
The error appears after deleting Microsoft.Bcl.AsyncInterfaces, which cannot be played again due to this error.