Managed Debugging Assistant 'LoaderLock' has detected a problem in.exe'. How to remove this in vb.net?

256 Views Asked by At

Managed Debugging Assistant 'LoaderLock' has detected a problem in '..bin\Debug\Paperchase.Apps.ChapterLevelZone.vshost.exe'.

Additional information: DLL '..bin\Debug\PegasusImaging.WinForms.ImagXpress7.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.

IF I TRY TO UNCHECK THE LOADER LOCK FROM EXCEPTION SETTINGS, The application stops working when the dll is hitHow to avoid it?

0

There are 0 best solutions below