<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">

    
    <!--
    Defines transforms that apply to web.Template.config when creating the Debug web.config.

    This file should contain changes that need to go into the Debug config (the one that everybody
    contributing to the project is going to use). After the first build, the actual web.config file
    is created and is ignored by source control.

    One can edit web.config, it will not be overritten, but it WILL be altered by this transform
    file everytime Umbraco builds.
  -->

    <configSections>
        <section name="Examine" xdt:Transform="Remove" xdt:Locator="Match(name)" />
        <section name="ExamineLuceneIndexSets" xdt:Transform="Remove" xdt:Locator="Match(name)" />
    </configSections>

    <Examine xdt:Transform="Remove"  />
    <ExamineLuceneIndexSets xdt:Transform="Remove"  />

    <system.web>
        <compilation debug="true" xdt:Transform="SetAttributes(debug)" />
    </system.web>

     <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='Newtonsoft.Json']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
                <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
            </dependentAssembly>

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='Microsoft.Owin']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
            </dependentAssembly>

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='Microsoft.Owin.Security']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
            </dependentAssembly>

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='Microsoft.Owin.Security.Cookies']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
            </dependentAssembly>

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='Microsoft.Owin.Security.OAuth']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
            </dependentAssembly>

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='System.Web.Http']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
            </dependentAssembly>

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='System.Web.Mvc']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
            </dependentAssembly>

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='System.Web.Mvc']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
            </dependentAssembly>

            <dependentAssembly xdt:Transform="Remove"
                               xdt:Locator="Condition(_defaultNamespace:assemblyIdentity[@name='System.Net.Http.Formatting']])"/>
            <dependentAssembly xdt:Transform="Insert">
                <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
            </dependentAssembly>

        </assemblyBinding>
    </runtime>

</configuration>
