Visual Studio For Mac Restore Nuget Packages
I'm working with same GIT repository from Visual Studio (to develop code) and from Xamarin Studio (under MAC) to develop xib interfaces. I'm not keeping nuget packages under the GIT repo and I would like to have it auto-restored under Xamarin Studio (MAC) once I added some references under the Visual Studio. Jan 19, 2017 - I'll try every way offered by Visual Studio to restore packages, but it will claim everything is up to date. Looking in Solution Explorer, you'll see.
Important If you edit the packageRestore settings directly in nuget.config, restart Visual Studio so that the options dialog box shows the current values. Other potential conditions • You may encounter build errors due to missing files, with a message saying to use NuGet restore to download them.
However, running a restore might say, 'All packages are already installed and there is nothing to restore.' In this case, delete the packages folder (when using packages.config) or the obj/project.assets.json file (when using PackageReference) and run restore again. If the error still persists, use nuget locals all -clear or dotnet locals all --clear from the command line to clear the global-packages and cache folders as described on. • When obtaining a project from source control, your project folders may be set to read-only.
Change the folder permissions and try restoring packages again. • You may be using an old version of NuGet. Check for the latest recommended versions. For Visual Studio 2015, we recommend 3.6.0. If you encounter other problems, so we can get more details from you.
[!Important] If you edit the packageRestore settings directly in nuget.config, restart Visual Studio so that the options dialog box shows the current values. Other potential conditions • You may encounter build errors due to missing files, with a message saying to use NuGet restore to download them. However, running a restore might say, 'All packages are already installed and there is nothing to restore.' In this case, delete the packages folder (when using packages.config) or the obj/project.assets.json file (when using PackageReference) and run restore again. If the error still persists, use nuget locals all -clear or dotnet locals all --clear from the command line to clear the global-packages and cache folders as described on. 32-bit download. • When obtaining a project from source control, your project folders may be set to read-only.
Change the folder permissions and try restoring packages again. • You may be using an old version of NuGet. Check for the latest recommended versions. For Visual Studio 2015, we recommend 3.6.0. If you encounter other problems, so we can get more details from you.