<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <!-- The clr v4 which we are using is supported out of the box by all net versions greater than 4 and thus we could live without a startup section like the one below   -->
  <!-- The reason we are forced to nevertheless use a startup section despite the above fact is that we need to somehow blocklist dotnet 4 client profile installations because these specific -->
  <!-- flavours of dotnet simply dont cut it for our product  Until these flavours of dotnet have drifted sufficiently deep into irrelevancy we need to take their presence into account -->
  <!-- Thus every time a new dotnet version comes out unfortunately we need to go through the chores of revisiting and updating accordingly all appconfigs in our product -->
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  </startup>
  <appSettings>
    <add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
  </appSettings>
  <system.diagnostics>
    <sources>
      <source name="STAThread" switchName="STAThreadSwitch" switchType="System.Diagnostics.SourceSwitch">
        <listeners>
          <clear />
          <remove name="Default" />
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="STAThreadSwitch" value="Off" />
    </switches>
  </system.diagnostics>
  <!-- quick tip   you may use svctraceviewer to easily inspect any of the generated xml logfiles -->
  <!--<system.diagnostics>
    <trace autoflush="true"/>
    <sources>
      <source name="STAThread" switchName="STAThreadSwitch" switchType="System.Diagnostics.SourceSwitch" propagateActivity="true">
        <listeners>
          <add name="textwriterListener"
             type="System.Diagnostics.XmlWriterTraceListener"
             initializeData= "C:\Path\to\your\Desktop\STAThread.xml"
             traceOutputOptions="DateTime" />
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="STAThreadSwitch" value="Verbose" />
    </switches>
  </system.diagnostics>-->
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.2" newVersion="10.0.0.2" />
      </dependentAssembly>
    </assemblyBinding>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Security.Cryptography.ProtectedData" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.2" newVersion="10.0.0.2" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>