Remove ios, windows8, and wp8 from Xamarin Forms PCL – nuget 3.0 opt-into error?

The solution that worked for me: Uninstall Xamarin.Forms: Right Click Solution -> Manage NuGet Packages -> Uninstall Xamarin.Forms -> Restart VS Then remove build platforms: Right Click Solution -> Properties -> Build -> under Targeting select Change -> Remove platform(s) -> Restart VS Reinstall Xamarin.Forms: Manage NuGet packages -> Search for Xamarin.Forms -> Install -> … Read more

NuGet Package Restore Not Working

Note you can force package restore to execute by running the following commands in the nuget package manager console Update-Package -Reinstall Forces re-installation of everything in the solution. Update-Package -Reinstall -ProjectName myProj Forces re-installation of everything in the myProj project. Note: This is the nuclear option. When using this command you may not get the … Read more

nuget spec dependencies, get latest version?

As of Nuget 2.8 you can add the following attribute to your nuget.config <configuration> <config> <add key=”dependencyversion” value=”Highest” /> </config> </configuration> When resolving your packages, the latest version of that package will be resolved. Other attributes include HighestMinor, HighestPatch and lowest (based on semantic versioning) Source: http://docs.nuget.org/docs/release-notes/nuget-2.8

NuGet on Linux: Error getting response stream

I was able to get this working by importing the certificates into the machine store and not the user store, which is the default: $ sudo mozroots –import –machine –sync $ sudo certmgr -ssl -m https://go.microsoft.com $ sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net $ sudo certmgr -ssl -m https://nuget.org I verified that before I did this … Read more

How can I make my managed NuGet package support C++/CLI projects?

As Patrick O’Hara wrote, NuGet will not make changes to a C++/CLI project for you. See GitHub Issue NuGet/Home#1121 – Cannot install managed packages into a CLI project. However, using the NuGet command line utility, NuGet.exe, you can have NuGet download and unpack the desired package(s). For a complete example, here were steps that I … Read more