问题描述
由于某种原因,我无法在Visual Studio 2012中打开测试浏览器窗口.我单击Test-> Windows-> Test Explorer,什么也没发生...
For some reason I can't open the test explorer window in Visual Studio 2012. I click Test->Windows->Test Explorer and nothing happens...
此问题可能是由最近卸载DotCover引起的.我这样做是因为我的许可证已过期,并且在没有许可证的情况下运行测试时遇到了问题(上下文菜单不起作用).
This problem may have been caused by recently uninstalling DotCover. I did this because my licence expired and I was having issues running tests without it (context menus weren't working).
任何建议或建议,不胜感激!
Any suggestions or advice much appreciated!
谢谢.
推荐答案
在VS2012中,测试资源管理器存在一个错误,即当您单击 Test> Windows> Test Explorer 时,窗口无法获得焦点.相反,除非完全隐藏了窗口(在这种情况下将其显示),否则菜单项无效.
In VS2012, Test Explorer has a bug in that the window doesn't get focus when you click Test > Windows > Test Explorer. Instead, the menu item has no effect unless the window was complete hidden, in which case it is displayed.
该错误意味着,如果测试资源管理器"被自动隐藏"折叠了,则菜单项什么也不做.检查Test Explorer是否不在左侧或右侧左右的自动隐藏选项卡中(即,在默认情况下是带有垂直书写文字的选项卡,例如Server Explorer和Toolbox都是默认选项).
The bug means that if Test Explorer is collapsed with Auto Hide, the menu item does nothing. Check that Test Explorer isn't in an auto-hide tab somewhere off to the left or right (i.e. in a tab with text written vertically, like Server Explorer and Toolbox are by default).
更新:该错误是.
这篇关于Visual Studio测试资源管理器窗口将不会打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!