Nunit 2.6 cannot debug the. Net Framework 4.0

Source: Internet
Author: User

[HTML]View Plaincopyprint?
  1. <configuration>
  2. <!--
  3. The GUI is only runs under. NET 2.0 or higher. The
  4. useLegacyV2RuntimeActivationPolicy setting only
  5. Applies under. NET 4.0 and permits use of mixed
  6. mode assemblies, which would otherwise not load
  7. Correctly must remove the setting for version 2.0.
  8. -->
  9. <startup uselegacyv2runtimeactivationpolicy="true">
  10. <requiredruntime version="v4.0.30319" />
  11. <supportedruntime version="v4.0.30319" />
  12. </startup>
  13. <runtime>
  14. <!--Ensure that test exceptions don ' t crash NUnit --
  15. <legacyunhandledexceptionpolicy enabled="1" />
  16. <!--Run Partial trust V2 assemblies in full trust under. NET 4.0--
  17. <loadfromremotesources enabled="true" />
  18. <!-- look for addins in the AddIns directory for now--
  19. <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">
  20. <probing privatepath="lib;addins" />
  21. </assemblybinding>
  22. </Runtime>
  23. </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-&LT;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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.