diff --git a/de4dot.code/AssemblyClient/AssemblyClient.cs b/de4dot.code/AssemblyClient/AssemblyClient.cs index b392a3df..81386777 100644 --- a/de4dot.code/AssemblyClient/AssemblyClient.cs +++ b/de4dot.code/AssemblyClient/AssemblyClient.cs @@ -19,6 +19,7 @@ using System; using System.Runtime.Remoting; +using System.Runtime.Serialization; using System.Threading; using AssemblyData; @@ -81,6 +82,9 @@ namespace de4dot.AssemblyClient { catch (RemotingException) { // Couldn't connect } + catch (SerializationException) { + // For this: "End of Stream encountered before parsing was completed." + } service = null; } if (loader != null) {