使用Windows 7 32位,VS 2010,.NET 4的DLL,NUnit的(2.5.5)进行单元测试的应用程序。我目前收到以下错误;看到很多帖子和尝试了以下内容:
Using Windows 7 32 bit, VS 2010, .NET 4 DLL, NUnit (2.5.5) to unit test the application. I'm currently getting the following error; seen plenty of posts and tried the following:
重启机器 重新启动VS 删除斌/ OBJ并重新加载 清洁/重建但我不能让NUnit的运行的时候打我的断点;
But I cannot get NUnit to hit my breakpoints when running;
我设置NUnit的测试项目指向nunit.exe,并加载测试.NET 4的DLL,但是当我运行它没有找到断点,无符号已加载。我试着调试>窗口>模块,它甚至不显示我的单元测试项目时,我运行它。
I set the NUNit test project to point to the nunit.exe, and to load the testing .NET 4 DLL, but when I run it doesn't find the breakpoint, "no symbols have been loaded". I tried debug >windows > modules, it doesn't even show my unit testing project when I run it.
我发现这一点,使用NUnit的代理:http://groups.google.com/group/nunit-discuss/browse_thread/thread/5680d7def5b6982f
I found this, to use the nunit agent: http://groups.google.com/group/nunit-discuss/browse_thread/thread/5680d7def5b6982f
不过,我得到一个错误,当我使用NUnit的代理了。我使用NUnit代理-x86.exe程序,但我得到发生System.FormatException和崩溃...
But I get an error when I use the nunit agent too. I was using nunit-agent-x86.exe, but I get a system.formatexception and it crashes...
有人能帮忙吗?
感谢。
该决议是:启动NUnit的独立,然后在VS 2010中,做调试>附加到进程,连接到NUnit的-agent.exe过程,而不是NUnit的过程。 NUnit的过程中仍然没有为我做的。
The resolution was: start NUnit stand alone, then in VS 2010, do debug > attach to process, and attach to the nunit-agent.exe process, not the nunit process. Nunit process still didn't do it for me.
上一篇:Firebase更改Google登录警报上显示的应用程序名称?警报、应用程序、名称、Firebase
下一篇:部署到Heroku时,UnicodeDecodeError:utf-8;#39;编解码器无法解码位置0中的字节0xff字节、位置、编解码器、UnicodeDecodeError