Is there a way to apply VS 2010 Web.Config transformations outside of web deployment, say during debugging? It would give me a great boost to be able to freely switch between different environments.
Is there a way to apply VS 2010 Web.Config transformations outside of web deployment,
Share
Yes, you can perform a Web.config transformation explicitly by invoking the
TransformXmlMSBuild task during theAfterBuildstep in your project file.Here’s an example:
Related resources: