How avoid *.<Environment>.config transformations being deployed on server
问题 I'm using VSTS to deploy at several environments. And as usual, some parameters on config files need to be different depending the environment, hence I will use config transformations to deploy it at the target environment. Since I want to have the package with both the config and the transform that will be applied later I set the Build Action as Content as such: <Content Include="App_Config\MyConfig.config" /> <Compile Include="App_Config\MyConfig.prod.config"> <DependentUpon>MyConfig.config