NuGet Projects (Nugetizer 3000)
Multiplatform Libraries for Code Sharing
- PDF for offline use
- Related Links:
Let us know how you feel about this
Translation Quality
0/250
last updated: 2017-04
Automatically create NuGet packages to share code across platforms using the "Nugetizer 3000"!
Xamarin Studio 6.2 includes new functionality that can create NuGet packages from existing library projects, or by creating a new Multiplatform Library Project.
Once configured, every build of the project outputs a complete NuGet package, which can be used to share code internally with other apps or uploaded to NuGet.org.
There are three scenarios for using this feature:
-
Create a NuGet package from existing PCL (or .NET Standard) projects.
Creating a New Multiplatform Library Project
Create a new library to share common code via NuGet, using a PCL or .NET Standard.
Creating New Platform-Specific Library Projects
Create a new library and NuGet that includes platform-specific code for iOS and Android, and uses a Shared Project to contain the common code and platform-specific projects to support iOS- or Android-specific functionality.
Refer to the Metadata guide for details on the required and optional metadata that must be added to any NuGet package.
Further NuGet Information
Read more about manually creating NuGets for Xamarin and how to include a NuGet package in an app.
Microsoft's NuGet Documentation contains more detailed information on the .nupkg format and using NuGet packages in Visual Studio.
The design discussion for NuGet Package Projects (a.k.a. NuGetizer 3000) is available on the NuGet GitHub repository.
Let us know how you feel about this
Translation Quality
0/250
Xamarin Workbook
If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.


