VS 2008专业版Hello World单元测试不起作用 [英] VS 2008 Professional Hello World Unit test not working

查看:115
本文介绍了VS 2008专业版Hello World单元测试不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2008 Professional(v 9.0.21022.8 RTM以及.NET framework 3.5)并试图获得一个简单的"hello world"。键入要运行的单元测试的示例。我在VB中设计一个简单的类,如下所示


I am using Visual Studio 2008 Professional (v 9.0.21022.8 RTM along with .NET framework 3.5) and trying to get a simple "hello world" type example of unit tests to work.  I contrive a simple class in VB like this




Code Snippet

推荐答案

请在devenv.exe.config和vstesthost.exe.config中启用跟踪(请参阅 http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1206123&SiteID=1 有关详细信息)并将跟踪文件发送给我们。

Please enable tracing in devenv.exe.config and vstesthost.exe.config (refer to http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1206123&SiteID=1 for details) and send us the trace files.

您也可以尝试删除任何*。 suo和* .ncb文件并执行devenv / setup / resetuserdata(不是后者会清理VS中的设置,例如键盘快捷键,工具窗口/工具箱布局等)。我们已经看到有时候VS会进入一个糟糕的状态,这会有所帮助。

You can also try to delete any *.suo and *.ncb files and do devenv /setup /resetuserdata (not that the latter one will clean up your settings in VS, such as keyboard shortcuts, toolwindow/toolbox layout, etc). We've seen that sometimes VS goes into a bad state and this helps.

谢谢,

Michael Koltachev,VS团队测试

Michael Koltachev, VS Team Test


这篇关于VS 2008专业版Hello World单元测试不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆