Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top