Possible Duplicate:
App.Config Transformation for 'none web projects' in Visual Studio 2010?
Basically, the question above. The new config transformations that are provided for a web.config file for different environments are really nice.
However, I'd like the same functionality for app.configs that vary across testing environments.
Does anyone know of a way to make this work?
Thanks in advance.
A Web. config transformation file contains XML markup that specifies how to change the Web. config file when it is deployed. You can specify different changes for specific build configurations and for specific publish profiles.
config (or any file) when you press F5 in Visual Studio. You can have different transformations based on the build configuration. This will enable you to easily have different app settings, connection strings, etc for Debug versus Release. If you want to transform other files you can do that too.
Vishal Joshi has a post on this: Applying XDT magic to App.Config
There's also a related, though possibly dated, question on StackOverflow here: App.Config Transformation for Visual Studio 2010?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With