diff options
author | marcinzelent <zelent.marcin@protonmail.com> | 2017-11-20 14:38:12 +0100 |
---|---|---|
committer | marcinzelent <zelent.marcin@protonmail.com> | 2017-11-20 14:38:12 +0100 |
commit | 462aed0ddd5dd5cca7fb51175cc0829650e4916c (patch) | |
tree | d0948efc256c6ed66a0c71b5ae1f5b9a1112ba6e /packages/Microsoft.AspNet.WebPages.3.2.3/Content/Web.config.install.xdt | |
parent | f6f830d066635c91763dd1ae6248c8c189e6fe7e (diff) | |
parent | 71f272fbc3917dcdd81c2c829bccad9b64eb9128 (diff) |
Merge.
Diffstat (limited to 'packages/Microsoft.AspNet.WebPages.3.2.3/Content/Web.config.install.xdt')
-rw-r--r-- | packages/Microsoft.AspNet.WebPages.3.2.3/Content/Web.config.install.xdt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/Microsoft.AspNet.WebPages.3.2.3/Content/Web.config.install.xdt b/packages/Microsoft.AspNet.WebPages.3.2.3/Content/Web.config.install.xdt new file mode 100644 index 0000000..01478c5 --- /dev/null +++ b/packages/Microsoft.AspNet.WebPages.3.2.3/Content/Web.config.install.xdt @@ -0,0 +1,41 @@ +<?xml version="1.0"?>
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+
+ <!-- If runtime tag is absent -->
+ <runtime xdt:Transform="InsertIfMissing">
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ </assemblyBinding>
+ </runtime>
+
+ <!-- If runtime tag is present, but assembly binding tag is absent -->
+ <runtime>
+ <assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1">
+ </assemblyBinding>
+ </runtime>
+
+ <!-- If the binding redirect is already present, the existing entry needs to be removed before inserting the new entry-->
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly xdt:Transform="Remove"
+ xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Helpers')" >
+ </dependentAssembly>
+ <dependentAssembly xdt:Transform="Remove"
+ xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.WebPages')" >
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+
+ <!-- Inserting the new binding redirect -->
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly xdt:Transform="Insert">
+ <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
+ <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
+ </dependentAssembly>
+ <dependentAssembly xdt:Transform="Insert">
+ <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
+ <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration>
\ No newline at end of file |