How to create a NuGet package from a project: 1. Check the properties in Directory.Build.props and increase the version. 2. Check the properties in the project. Right-click on the project -> Properties -> Package. 3. Select Release for the build configuration. 4. Right-click on the project -> Pack. 5. Find the package in the bin/Release folder. Example: Netmash.Hosting.WindowsService.1.0.0.nupkg. 6. Push the package: 6.1. Open a console in the package folder and run: "dotnet nuget push -k -s ". 6.2. Example: dotnet nuget push Netmash.Hosting.WindowsService.1.0.0.nupkg -k -s http:///nuget.