异常被调用的目标抛出

异常被调用的目标抛出

本文介绍了错误:“异常被调用的目标抛出”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有时,我收到错误:错误:调用目标抛出异常。





我做了什么并没有帮助:



以安全模式启动Visual Studio(参数/ SafeMode)
启动Visual Studio并重置用户数据(参数/ resetuserdata)
我这样做devenv / safemode,打开解决方案,构建,清洁,重建,十字手指,运行所有测试...



没有解决方案...:'(这是噩梦..



任何解决方案,请????

解决方案

打开Team Explorer并连接到TFS服务器,然后重试。



从第一条评论。作者本人没有solu但是评论者确实如此。


I use VS 2008 professional, and use Unit tests.

Sometimes, I get the error: Error: "Exception has been thrown by the target of an invocation."

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

What I did and didn’t help:

Start up Visual Studio in safe mode (parameter /SafeMode )Start up Visual Studio and reset user data (parameter /resetuserdata )I do this "devenv /safemode", "Open solution", "Build", "Clean", "Rebuild", "Cross fingers", "Run all tests"…

No solution... :'( it's nightmare..

Any solutions, please ????

解决方案

Open Team Explorer and connect to your TFS server. Then try again.

From the first comment on Chezray's blog post. The author himself doesn't have the solution, but the commenter does.

这篇关于错误:“异常被调用的目标抛出”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 15:30