it:ad:nuget:howto:pack_packages_within_a_ci_environment

IT:AD:Nuget:HowTo:Pack Packages within a CI Environment

The Build Step has to have a command such as:

 NuGet Pack MyProject.csproj
 //
 NuGet Pack YourPackage.nuspec

If you need to override the version that is in the nuspec file – which is what you want when creating a package in a CI – try the following:

 NuGet Pack MyProject.csproj -Version %SOME_ENV_VAR% -Output "c:\somewhere\"  -Properties Configuration=Release;var2=val2;var3=val3
 
  • /home/skysigal/public_html/data/pages/it/ad/nuget/howto/pack_packages_within_a_ci_environment.txt
  • Last modified: 2023/11/04 01:51
  • by 127.0.0.1