Solve the problem that LoaderLock exception occurred in VS2010 debugging

Date:2020-05-12 18:55:37 Posted by:Xiufang.Ding View:444

After VS2010 is installed and vb.net compilation is opened for the first time, an error message may appear: "Attempting managed execution inside OS LoaderLock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang".The solution is as follows:

Select "Debug "---> Select "Exceptions" ---> Select "Managed Debugging Assistants" ---> Remove the check before "LoaderLock" ---> Click "OK". Recompile the VS2010 and the problem has been solved.

BACK
2 Share Collection 0 Comments

Comments: 0

Add a Comment

Please log in to comment.

Login

Enter your email address and password

Forgot Password?

No account ?Click here to register