Search code examples
octopus-deployoctopack

Running OctoPack to create nuget package containing DEBUG assemblies


How can I use OctoPack to create a nuget package contains the debug assemblies instead of the "release" version? It seem octopack 3.0 no longer support this command parameter /p:OctopusPackageConfiguration=Debug

http://help.octopusdeploy.com/discussions/questions/97-is-there-a-way-to-use-octopack-to-build-for-other-configurations-than-release


Solution

  • You should use extra /t:Rebuild /p:Debug parameters instead of octopack commands. And you must include pdb file extensions to your csprojname.nuspec file which must have the same name with your csproject file name.