Solve VS2010 Error "Exceptions has been thrown by the target of an invocation"

Sometimes when you open a VS2010 project, an error window will pop up with the error message "Exceptions has been thrown by the target of an invocation" which is weird.

The easy way to solve this and get your project started normally is:

1) Open Task Mangager, find the explorer.exe in Processes, and then click End Process.

2) Click File -> New Task(Run...), type in explorer.exe

3) Then reopen your project file, it should be ok now.

原文地址:https://www.cnblogs.com/grandyang/p/6189030.html