This provides an end-to-end sample to show how to package UWP XAML controls as a NuGet package. Refer to Create UWP Controls as NuGet Packages in the NuGet documentation for details.
To build the nuget package samples:
- Batch build the solution for all
Release
configurations - From command prompt, navigate to
/ExtensionSDKasNuGetPackage/ManagedPackage/
(managed controls) orExtensionSDKasNuGetPackage/NativePackage
(native controls) - Execute
nuget pack ManagedPackage.nuspec
ornuget pack NativePackage.nuspec
respectively
This will generate a nupkg
and place it in the same directory as the nuspec
.