Error: "Exception thrown by call target."

I use a professional VS 2008 and use unit tests.

Sometimes I get the error message: Error: "An exception was thrown by the target of the call."

http://peitor.blogspot.com/2009/10/sometimes-it-works-sometimes-not.html

What I did and did not help:

Run Visual Studio in safe mode (option / SafeMode) Run Visual Studio and reset user data (option / resetuserdata) I do this "devenv / safemode", "Open solution", "Build", "Clean", "Rebuild", " Cross finger "," Run all tests "...

There is no solution ...: '(this is a nightmare ..

Any solutions please ????

+2
source share
5

Team Explorer TFS. .

Chezray. , .

+8

Visual Studio 2010. AnkhSVN None .

+1

TFS. Visual Studio, .

0

Test → Test Settings → Default Processor Architecture VS x86 x64.

0

I set the source control setting from AnkhSVN to None. Still not working. Closed and reopened VS a couple of times. Still not working. Noticed that my initial project was an actual test project. Changed the launch project to "Applications" and launched it. Then I ran the tests and this annoying message box went away.

Very ambiguous mistake.

0
source

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


All Articles