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

时间:2023-03-08 17:02:10

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.