I just added three configurations to my web application. I then right clicked web.config and selected "Add Config Transforms". The three files were created, but there is no expander next to web.config in the solution explorer and the transforms are not applied when deployed (Build Deployment Package).
I've rebuilt the solution, dragged the files into the solution explorer, Add>Existing Item, and closed/reopened VS. Still not showing up.
Any ideas?
config file is located in the %SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\CONFIG\ folder. The default settings that are contained in the Machine.
If you have a web application project, Right-click on web. config and choose Add Config Transform. This will add any config transforms that are missing from your project based on build configurations (i.e. if you have Production and Staging build configs, both will get a transform added).
The xdt:Transform attribute value "SetAttributes" indicates that the purpose of this transform is to change attribute values of an existing element in the Web.
VB strikes again. VB applications don't show them unless "Show all files" is selected. Brilliant.
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