I cloned a project from a repository, and when I Build the project solution, it throws an error such as:
NuGet Package restore failed for project. Unable to find the versionof a package.
I went to the Nuget "Package Manager for Solution" to restore the missing nuget packages, but I can't seem to restore as it keeps throwing the following error and blocks me from restoring the missing Nuget packages:
An error occurred while trying to restore packages: Unable to find theversion of a package "ExamplePackage" is not found on the source:C:\Program Files(x86)\Microsoft SDKs\NuGetPackageshttps://api.nuget.org/v3/index.json: Package "ExamplePackage" is notfound on source https://api.nuget.org/v3/index.json
I tried to remove the error references inside my package.config and also in my .csproj files, so that I can re-install those packages. However this doesn't seem to work because, when I tried to browse in the NuGet Package Manger, for the packages I need to install , they are not available for installation.
It is odd because I do see the missing packages inside my bin
folder. Could I possibly remap to it manually? I am not sure how to fix this problem.