﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
  </startup>
  <system.diagnostics>
    <!-- 
      Uncomment the settings below to enable tracing.
      Update the initializeData for the TextLogger with the desired trace file path.
    -->
    <!--
    <sources>
      <source name="Microsoft.Data.Tools.Diagnostics.Tracer" switchValue="Error">
        <listeners>
          <add name="TextLogger"
               type="System.Diagnostics.TextWriterTraceListener"
               initializeData="sqlpackage.trace.log"
               traceOutputOptions="DateTime, ThreadId" />
        </listeners>
      </source>
    </sources>
    -->
  </system.diagnostics>
  <!--
  The below runtime setting is a workaround for an issue resulting from a known breaking change in the SQL Server 2012 version of the System CLR Types. The original breaking change and resulting issue are both documented in the “SQL CLR Data Types” section of http://go.microsoft.com/fwlink/?LinkID=271559.
  -->
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.SqlServer.Types" publicKeyToken="89845dcd8080cc91" culture="neutral" />
        <bindingRedirect oldVersion="10.0.0.0-13.0.0.0" newVersion="14.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.SqlServer.TransactSql.ScriptDom" publicKeyToken="89845dcd8080cc91" culture="neutral"/>
        <bindingRedirect oldVersion="12.0.0.0-13.100.0.0" newVersion="14.0.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.SqlServer.Dac" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="11.0.0.0-13.0.0.0" newVersion="14.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.SqlServer.Dac.Extensions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="11.0.0.0-13.0.0.0" newVersion="14.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>