Visual Studio crashes while running debug tests with displaying test results on a different screen

When I try to run unit tests, only in debug mode, in "Microsoft Visual Studio Team System 2008 SP1" and the "Test Results" view, it opens on a screen other than the main one (I have 2 monitors), devenv.exe. Have you ever encountered a similar error? Have you found a workaround for this?

+4
source share
2 answers

I have not heard about this yet. It would be great if you could report the error using Visual Studio Connect.

User errors, especially those that are easy to reproduce, are taken very seriously and will be addressed.

Also, do you mind posting comments in the comments, what is the error identifier?

+2
source

Solved for my scenario: this was a reference problem. With the Fusion assembly binding protocol turned on, I discovered (recently migrated from x86 to x64) that the libraries I referenced in the web.config file had a strong name when compiling for x86, but when I recompiled them for Any CPU or x64, I did not use a strong name and therefore had null PublicKeyToken. Thus, assemblies that were actually deployed were not found by name at runtime.

Bad links / assembly binding problems / configuration file problems seem like a real .NET anchor point - there are many possibilities for crashes and burning with little or no direct feedback, little or nothing useful in the event log.

+1
source

Source: https://habr.com/ru/post/1285639/


All Articles