Home > Mobile >  How to restore visual studio nuget packages?
How to restore visual studio nuget packages?

Time:01-19

I cloned and loaded a visual studio project .net 4.8. I see all these references here

enter image description here enter image description here enter image description here

I tried a package restore and I get

All packages are already installed and there is nothing to restore.

I tried uninstalling one of them and reinstalling the same version from nouget package manager, but that specific reference still has the error. I check the packages folder and all the packages are there. The .csproj file is pointing to them. So why is visual studio not correctly referencing them here?

I have .net 4/4.7/4.8 installed too.

CodePudding user response:

From what I see you do not have problems only with the nuget packages, but with all the references of the project ... have you changed the version of .net framework to the project?

CodePudding user response:

Fixed it, I just needed to install .net 4.8 SDK/targeting pack (developer pack).

  •  Tags:  
  • Related