<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <!--
   The .NET 2.0 build of nunit-agent only 
   runs under .NET 2.0 or higher. The setting
   useLegacyV2RuntimeActivationPolicy only applies 
   under .NET 4.0 and permits use of mixed mode 
   assemblies, which would otherwise not load 
   correctly. 
  -->
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <!--
     Nunit-agent is normally run by the console or gui
     runners and not independently. In normal usage, 
     the runner specifies which runtime should be used.
     
     Do NOT add any supportedRuntime elements here, 
     since they may prevent the runner from controlling 
     the runtime that is used!
    -->
  </startup>

  <runtime>
    <!-- Ensure that test exceptions don't crash NUnit -->
    <legacyUnhandledExceptionPolicy enabled="1" />

    <!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
    <loadFromRemoteSources enabled="true" />

    <!-- Look for addins in the addins directory for now -->
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="lib;addins"/>
   </assemblyBinding>

  </runtime>
  
</configuration>