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