Jaa


NuGet Multiplatform Library Projects (Nugetizer 3000)

Automatically create NuGet packages to share code across platforms using the 'Nugetizer 3000'!

It is possible to automatically create NuGet packages to share code across platforms using the Nugetizer 3000. This makes it possible to create NuGet packages from existing library projects or by creating a new Multiplatform Library Project.

The Nugetizer 3000 is included with Visual Studio for Mac – look for the Library > Mulitplatform Library project type in the File > New window:

Create new Multiplatform Library window

Building NuGet packages

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.

The design discussion for NuGet Package Projects (a.k.a. NuGetizer 3000) is available on the NuGet GitHub repository.