-
Notifications
You must be signed in to change notification settings - Fork 14
Building the Nuget Package
Rob Lang edited this page Oct 4, 2016
·
13 revisions
These instructions are for building the nuget package.
- Open
./NJsonApiCore.Web.MVC5.HelloWorld.sln- Update nuget packages
- Update the version number in all the
AssemblyInfo.cs - Select Release Build and build all. Close solution.
- Open
./NJsonApiCore.Web.MVCCore.HelloWorld.sln- Update nuget packages
- Update the version number in all the
AssemblyInfo.cs - Select Release Build and build all. Close solution.
- Run the unit tests, ensure they pass and fix any failures.
- Open
./Package.nuspec- Update the version number
- Update Release note
- Ensure that the reference nuget packages are the same as the ones as used in the two solutions
- Open a command line
- At the project root type
nuget pack package.nuspec
- Login to nuget.org and get your API Key
- In command line type
nuget push NJsonApiCore.<version here>.nupkg <your key here>