Is there a way to do config transform after publish only? So instead of "AfterBuild" have something like "AfterDeploy" or "AfterPublish"? "AfterBuild" prohibits to build using test or release since the config file would always go back to Debug. Did a quick search and could not see more info on this. Thanks
<Target Name="AfterBuild"> <TransformXml Source="Web.config" Transform="Web.Debug.config" Destination="Web.config" /> </Target>
2.1m questions
2.1m answers
60 comments
57.0k users