diff --git a/Notes.txt b/Notes.txt index fb6bd31..5a8c1f8 100644 --- a/Notes.txt +++ b/Notes.txt @@ -1,9 +1,9 @@ -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: Netmash.Hosting.WindowsService.1.0.0.nupkg -6. Push the package -6.1 Open a console in package folder and run "dotnet nuget push -k -s " -6.2 Ex: dotnet nuget push Netmash.Hosting.WindowsService.1.0.0.nupkg -k key -s http:///nuget +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. \ No newline at end of file