2019-10-11 00:53:12 +03:00
|
|
|
How to create nuget package from project:
|
|
|
|
1. Check properties from Directory.Build.props. Increase version
|
|
|
|
2. Check properties from project. Right click on project -> Properties -> Package
|
|
|
|
3. Select Release for build
|
|
|
|
4. Right click on project -> Pack
|
2023-01-12 01:07:04 +02:00
|
|
|
5. Search for package in bin/Release folder. Ex: Netmash.Hosting.WindowsService.1.0.0.nupkg
|
2019-10-11 00:53:12 +03:00
|
|
|
6. Push the package
|
|
|
|
6.1 Open a console in package folder and run "dotnet nuget push <package_name> -k <key> -s <nuget_server_url>"
|
2023-02-04 10:33:52 +02:00
|
|
|
6.2 Ex: dotnet nuget push Netmash.Hosting.WindowsService.1.0.0.nupkg -k key -s http://<nuget_server_url>/nuget
|