惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
J
Java Code Geeks
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
爱范儿
爱范儿
量子位
Martin Fowler
Martin Fowler
V
V2EX
博客园 - 三生石上(FineUI控件)
I
InfoQ
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
Netflix TechBlog - Medium
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
U
Unit 42
Apple Machine Learning Research
Apple Machine Learning Research
H
Help Net Security
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
Engineering at Meta
Engineering at Meta

博客园 - 龙少爷

将博客搬至CSDN 偶遇 Lc.exe已退出代码为-1 安装CentOS时,显示 NET:Registered protocol family 2 清除SqlServer2008的日志 DomainDataSource的自动刷新 使用WCF RIA服务支持ASP.NET验证 使用dataInput:DescriptionViewer对输入的数据进行校验 android程序连接后端web service时,提示:Permission denied 设置XP系统的自动登录 chrome浏览器的迅雷插件 cmd中更换用户权限 使用WCF Ria取得子表的数据,一直为null SilverLight中使用WCF Ria出现的问题empty domain service class linq的表关系解决办法 在Java中使用Hibernate,使用不同数据库服务名 将固定字符分隔的内容转换为数组 Flex中TabBar与ViewStack 使用ApdComPort 拖动控件
Nunit2.6.2调试.net4类库
龙少爷 · 2012-11-09 · via 博客园 - 龙少爷

调试类库的时候,发现不能调试断点故障的解决:

1、在Nunit的安装目录下,打开nunit.exe.config,文件内容如下:

 <?xml version="1.0" encoding="utf-8"?>

<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.

  -->

<startup useLegacyV2RuntimeActivationPolicy="true">

<!-- Comment out the next line to force use of .NET 4.0 -->

</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>

2、在<startup>段中加入:

<requiredRuntime version="v4.0.30319" />