nunit-agent.exe.config 997 B

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <!--
  4. Nunit-agent only runs under .NET 2.0 or higher.
  5. The setting useLegacyV2RuntimeActivationPolicy only applies
  6. under .NET 4.0 and permits use of mixed mode assemblies,
  7. which would otherwise not load correctly.
  8. -->
  9. <startup useLegacyV2RuntimeActivationPolicy="true">
  10. <!--
  11. Nunit-agent is normally run by the console or gui
  12. runners and not independently. In normal usage,
  13. the runner specifies which runtime should be used.
  14. Do NOT add any supportedRuntime elements here,
  15. since they may prevent the runner from controlling
  16. the runtime that is used!
  17. -->
  18. </startup>
  19. <runtime>
  20. <!-- Ensure that test exceptions don't crash NUnit -->
  21. <legacyUnhandledExceptionPolicy enabled="1" />
  22. <!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
  23. <loadFromRemoteSources enabled="true" />
  24. </runtime>
  25. </configuration>