[HTML]View Plaincopyprint?
- <configuration>
- <!--
- The GUI is only runs under. NET 2.0 or higher. The
- useLegacyV2RuntimeActivationPolicy setting only
- Applies under. NET 4.0 and permits use of mixed
- mode assemblies, which would otherwise not load
- Correctly must remove the setting for version 2.0.
- -->
- <startup uselegacyv2runtimeactivationpolicy="true">
- <requiredruntime version="v4.0.30319" />
- <supportedruntime version="v4.0.30319" />
- </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>
<configuration> <!--The GUI only runs under. NET 2.0 or higher. The useLegacyV2RuntimeActivationPolicy setting only applies under. NET 4.0 and permits use of mixed mode assemblies , which would otherwise not load correctly this must remove the setting of version 2.0--<startup uselegacyv2runtimeactivationpolic Y= "true" ><requiredruntime version= "v4.0.30319"/> <supportedruntime version= "v4.0.30319"/> </ Startup> <runtime> <!--Ensure that test exceptions don ' t crash NUnit--<legacyunhandledexcepti Onpolicy enabled= "1"/> <!--Run Partial trust V2 assemblies in full trust under. NET 4.0-<LOADFROMR Emotesources enabled= "true"/> <!--look for addins in the AddIns directory for now--<assemblybin Ding xmlns= "urn:schemas-microsoft-com:asm.v1" > <probing privatepath= "lib;addins"/> </assemblyBinding& Gt </runtime></configuration>
OK, yes, if you want to see the Framework version number, you can enter%SystemRoot%\Microsoft.NET\Framework directly
Nunit 2.6 cannot debug the. Net Framework 4.0