mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
Fix nunit config file to force running in .NET 4.0
--HG-- branch : dev
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<supportedRuntime version="v4.0"/>
|
||||||
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Application settings for NUnit-console.exe. Do NOT put settings
|
Application settings for NUnit-console.exe. Do NOT put settings
|
||||||
for use by your tests here.
|
for use by your tests here.
|
||||||
@@ -20,6 +27,7 @@
|
|||||||
</system.diagnostics>
|
</system.diagnostics>
|
||||||
|
|
||||||
<runtime>
|
<runtime>
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
<!-- We need this so test exceptions don't crash NUnit -->
|
<!-- We need this so test exceptions don't crash NUnit -->
|
||||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||||
|
|
||||||
|
@@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<supportedRuntime version="v4.0"/>
|
||||||
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Application settings for NUnit-console.exe. Do NOT put settings
|
Application settings for NUnit-console.exe. Do NOT put settings
|
||||||
for use by your tests here.
|
for use by your tests here.
|
||||||
@@ -20,6 +27,7 @@
|
|||||||
</system.diagnostics>
|
</system.diagnostics>
|
||||||
|
|
||||||
<runtime>
|
<runtime>
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
<!-- We need this so test exceptions don't crash NUnit -->
|
<!-- We need this so test exceptions don't crash NUnit -->
|
||||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||||
|
|
||||||
|
@@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<supportedRuntime version="v4.0"/>
|
||||||
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Application settings for NUnit-gui.exe. Do NOT put settings
|
Application settings for NUnit-gui.exe. Do NOT put settings
|
||||||
for use by your tests here.
|
for use by your tests here.
|
||||||
@@ -28,6 +35,7 @@
|
|||||||
</system.diagnostics>
|
</system.diagnostics>
|
||||||
|
|
||||||
<runtime>
|
<runtime>
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
<!-- We need this so test exceptions don't crash NUnit -->
|
<!-- We need this so test exceptions don't crash NUnit -->
|
||||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||||
|
|
||||||
|
@@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<supportedRuntime version="v4.0"/>
|
||||||
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Application settings for NUnit-gui.exe. Do NOT put settings
|
Application settings for NUnit-gui.exe. Do NOT put settings
|
||||||
for use by your tests here.
|
for use by your tests here.
|
||||||
@@ -28,6 +35,7 @@
|
|||||||
</system.diagnostics>
|
</system.diagnostics>
|
||||||
|
|
||||||
<runtime>
|
<runtime>
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
<!-- We need this so test exceptions don't crash NUnit -->
|
<!-- We need this so test exceptions don't crash NUnit -->
|
||||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user