문제

When I call the Deserialize method on an instance of System.Runtime.Serialization.Formatters.Binary.BinaryFormatter in IExtensionApplication.Initialize of an AutoCAD plugin, the next code line after that does not execute. What could be causing this? Thanks in advance for any help.

도움이 되었습니까?

해결책

You need to show some code, but in all likely hood the Deserialize call is throwing an exception and therefore the next line of code is not being executed. Use a try/catch block around the Deserialize to see if you can catch an exception and view/log the exception details that might point you to the root of the problem.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top