diff --git a/NDB.sln b/NDB.sln index 54eda68..91cb2c6 100644 --- a/NDB.sln +++ b/NDB.sln @@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .gitattributes = .gitattributes .gitignore = .gitignore Directory.Build.props = Directory.Build.props + Notes.txt = Notes.txt EndProjectSection EndProject Global diff --git a/Notes.txt b/Notes.txt new file mode 100644 index 0000000..21abdd3 --- /dev/null +++ b/Notes.txt @@ -0,0 +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: NDB.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 NDB.Hosting.WindowsService.1.0.0.nupkg -k key -s http://stawebsrv/NuGetServer/nuget \ No newline at end of file