Add NuGet package and build scripts

This commit is contained in:
Joseph Henry
2021-02-05 15:58:48 -08:00
parent 59545833e6
commit a6297b33e2
8 changed files with 238 additions and 44 deletions

17
pkg/nuget/README.md Normal file
View File

@@ -0,0 +1,17 @@
# NuGet package
Install from [NuGet gallery package]() (recommended):
```powershell
Install-Package ZeroTier.Sockets
```
Install from local package
```powershell
Install-Package ZeroTier.Sockets -Source C:\PathToThePackageDir\
```
Development notes
- Microsoft's own documentation on multi-architecture nupkgs was outdated and Marco Siccardi seemed to have [the only correct instructions found anywhere on the internet](https://msicc.net/how-to-create-a-multi-architecture-nuget-package-from-a-uwp-class-library/) to accomplish this.