Hello Autocad Support Team,
AutoCAD hangs at time of executing this line(Autodesk.autocad.applicationserveice.DocumentManger.open(target file path) .
I added picture on attached screenshot. To unfreeze AutoCAD I must go to Task Manager.
got error on below Line Cant open my target file :
Application.DocumentManager.Open(target file);
Note : All works fine if code is executed under Visual Studio Debugger.
Do you have ideas where is trouble can be?
Thank you for any ideas.
described exact Screen at the time of hang autocad
Solved! Go to Solution.
Solved by Alfred.NESWADBA. Go to Solution.
Hi,
verify that you have set the correct references (for your specific AutoCAD release) and also make sure you have set the flag "copy local" to false (so none of the *mgd*.dll" from AutoCAD do not exist in your output-patch.
If that does not help please find the forum for ".NET with AutoCAD" >>>there<<< (at leat for your future questions) 😉
HTH, - alfred -