How can I include the web.config transfrom: web.debug.config when using octopack on msbuild?
I’ve tried: /p:Configuration=Debug /p:OctopusPackageConfiguration=Debug
But my web.config is not transformed and It only contains the web.release.config transformation file in the nupgk.
Can octopack do the transform? or can i specify that it should include the web.debug.config ?
Using files in the nuspec seems like a bad idea. I would like to keep the default nuspec behavior.
Are you trying to package a website? If so, then Files tag shouldn’t be required. If the config is marked as content in your project file (see below) then it should be packaged automatically.
Here’s mine:
Web.config
Web.config
Web.config
All get packaged just fine when I run:
msbuild.exe SolutionFile.sln /p:Configuration=Release /p:RunOctoPack=True
Also, found it that I was able to add the CI config transform file manually by adjusting the project file rather than having to manage a new Build Configuration in the solution.
Sorry if I am completely off track in trying to help.
OctoPack currently excludes web.debug.config explicitly; it’s something we’ll change in the next release. We assumed no one would want to include this file. Could you put the transforms in Web.release.config (which Octopus runs during deployment)?
Hi,
In case i want to do partial deployment (deploy the changes only in the web.config or xml file), is it possible to do via the tool or will i be required to re-deploy?
If yes, kindly let me know the steps.