Get nuget.exe and put it in your path C:\Windows\System32\
Note that the nuget.exe version MUST be 5.7.3 otherwise it won't work. You can download it from here:
https://dist.nuget.org/win-x86-commandline/v5.7.3/nuget.exe
-
Open Powershell terminal in Engine's base solution directory.
-
Switch to DEBUG configuration
-
Build the solution
-
Change the version number in the SIL.Machine.csproj by editing AssemblyInfo.props under he Imports folder.
-
Build the project
-
Open a terminal session in SIL.Machine/bin/debug which will contain the nuget package
-
Execute
nuget push .\Clear.SIL.Machine.<YOUR VERSION>.nupkg -ApiKey <YOUR KEY> -Source https://nuget.pkg.github.com/clear-bible/index.json
-
Open Powershell terminal in Engine's base solution directory.
-
Switch to Release configuration
-
Build the solution
-
Edit
ClearBible.Engine.nuspec
and change<version>
to next version number -
Execute
nuget pack .\ClearBible.Engine.nuspec -Build -Prop Configuration=Release
to just create the *.nupkg -
Execute
nuget pack .\ClearBible.Engine.nuspec -Symbols -SymbolPackageFormat snupkg
to create both the *.nupkg and a *.snupkg -
Execute
nuget push .\ClearBible.Engine.X.X.X.nupkg -ApiKey <YOUR KEY> -Source https://nuget.pkg.github.com/clear-bible/index.json
-
To publish the symbol package, execute
nuget push .\ClearBible.Engine.X.X.X.snupkg -ApiKey <YOUR KEY> -Source https://nuget.pkg.github.com/clear-bible/index.json
-
Open Powershell terminal in Engine's base solution directory.
-
Switch to Debug configuration
-
Build the solution
-
Edit
ClearBible.Engine.nuspec
and change<version>
to next version number -
Execute
nuget pack .\ClearBible.Engine.nuspec -Build -Prop Configuration=Debug -Suffix debug
to just create the *.nupkg -
Execute
nuget pack .\ClearBible.Engine.nuspec -Symbols -SymbolPackageFormat snupkg -Suffix debug
to create both the *.nupkg and a *.snupkg -
Execute
nuget push .\ClearBible.Engine.X.X.X.Debug.nupkg -ApiKey <YOUR KEY> -Source https://nuget.pkg.github.com/clear-bible/index.json
-
To publish the symbol package, execute
nuget push .\ClearBible.Engine.X.X.X.Debug.snupkg -ApiKey <YOUR KEY> -Source https://nuget.pkg.github.com/clear-bible/index.json