diff --git a/src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs b/src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs index 4b2e2aeb8a..886da2df43 100644 --- a/src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs +++ b/src/IKVM.MSBuild.Tasks/IkvmTaskMessageException.cs @@ -1,4 +1,5 @@ using System; +using System.Runtime.Serialization; using IKVM.MSBuild.Tasks.Resources; @@ -8,6 +9,7 @@ namespace IKVM.MSBuild.Tasks /// /// IKVM task exception with error message. /// + [Serializable] class IkvmTaskMessageException : IkvmTaskException { @@ -52,4 +54,4 @@ public IkvmTaskMessageException(Exception innerException, string messageResource } -} \ No newline at end of file +}