Visual Studio Test Explorer window will not open

2019-06-14 21:09发布

For some reason I can't open the test explorer window in Visual Studio 2012. I click Test->Windows->Test Explorer and nothing happens...

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!

Thanks.

9条回答
爷、活的狠高调
2楼-- · 2019-06-14 21:45

Window -> Reset Window Layout fixed the problem for me.

查看更多
聊天终结者
3楼-- · 2019-06-14 21:45

For me the fix was:

  • Focus on the test window by Test > Windows > TestExplorer
  • Using Win+Left / Right to move the window onto an active screen

    >    ┌┬┐
    > Win├┼┤ + Left or Right key
    >    └┴┘
    

The same worked for the ReSharper Unit Test Sessions window.

查看更多
做自己的国王
4楼-- · 2019-06-14 21:45

As a brutal fix I actually decided to reset all VS settings (not ideal as you lose all your custom settings like formatting and debugging preferences!).

To do this open up a cmd line and cd to the VS directory (mine was C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE) and type:

devenv.exe /ResetSettings

Hope this helps someone in the future...

查看更多
登录 后发表回答