NuGet Projects: Multiplatform Libraries for Code Sharing

PDF for offline use
Related Links:

Let us know how you feel about this


0/250

last updated: 2017-02

Automatically create NuGet packages to share code across platforms

Xamarin Studio 6.2 includes new functionality that can create NuGet packages from existing library projects, or by creating a new Multiplatform Library Project.

Create new Multiplatform Library window

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:

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.

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.