Fix: Web.Release.config Transforms from DevEnv

This commit is contained in:
Gary Sharp
2013-05-06 19:09:44 +10:00
parent 54961cdf22
commit 1b44d03159
8 changed files with 19 additions and 14 deletions
+7
View File
@@ -17,9 +17,11 @@
<connectionStrings xdt:Transform="Remove" />
<appSettings>
<add key="DiscoIgnoreVersionUpdate" xdt:Transform="Remove" xdt:Locator="Match(key)" />
<add key="Microsoft.VisualStudio.Enterprise.AspNetHelper.VsInstrLocation" xdt:Transform="Remove" xdt:Locator="Match(key)" />
</appSettings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<compilation xdt:Transform="RemoveAttributes(assemblyPostProcessorType)" />
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your Web.config file.
@@ -35,4 +37,9 @@
<system.webServer>
<modules xdt:Transform="Remove" />
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly xdt:Transform="Remove" xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Microsoft.VisualStudio.Enterprise.AspNetHelper')"></dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>