After pulling some code updates I found I got this message when building.
Some NuGet packages are missing from the solution.
The packages need to be restored in order to build the dependency graph.
Restore the packages before performing any operations
In solution explorer the references links displayed with a missing reference icon
I deleted the references Then at the package manager console a button appeared asking if I wanted to install the missing packages. However, this did not work.
When I tried opening the project on its own , outside the solution, and buidling it I received the message.
I granted VS the permission, then I ran at the package manager console
Click Ctrl+Q and write the name of the missing package and then click search for online NuGet package matching . It will show menu click on browse that will give you the missing package click install ,uninstall or update.
It's possible that folder/zips content error during the first download so go to the Xamarin folder (
C:/User/YourName/AppData/Local/Xamarin
) and delete or rename or move out the folder of missing nuget or content the of zips folder.Restart the IDE, your IDE download again the content. I tried this and it works.