28 lines
1.9 KiB
Plaintext
28 lines
1.9 KiB
Plaintext
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
|
|
5. Search for package in bin/Release folder. Ex: NDB.Hosting.WindowsService.1.0.0.nupkg
|
|
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>"
|
|
6.2 Ex: dotnet nuget push NDB.Hosting.WindowsService.1.0.0.nupkg -k key -s http://stawebsrv/NuGetServer/nuget
|
|
|
|
#######################################################################################################################################################
|
|
Push packages:
|
|
|
|
dotnet nuget push NDB.Application.DataContracts.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget
|
|
|
|
dotnet nuget push NDB.Extensions.Swagger.1.0.4.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget
|
|
|
|
dotnet nuget push NDB.Extensions.Http.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget
|
|
|
|
dotnet nuget push NDB.Security.Authentication.Identity.1.0.7.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget
|
|
|
|
dotnet nuget push NDB.Extensions.Caching.1.0.1.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget
|
|
|
|
dotnet nuget push NDB.Infrastructure.DatabaseMigration.1.1.3.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget
|
|
|
|
dotnet nuget push NDB.Data.EntityFramework.1.0.1.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget
|
|
dotnet nuget push NDB.Core.Abstractions.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget
|
|
####################################################################################################################################################### |