diff --git a/Nuclex.Support (Xbox 360).csproj b/Nuclex.Support (Xbox 360).csproj index 151973f..1aff2d1 100644 --- a/Nuclex.Support (Xbox 360).csproj +++ b/Nuclex.Support (Xbox 360).csproj @@ -1,4 +1,4 @@ - + {DFFEAB70-51B8-4714-BCA6-79B733BBC520} {2DF5C3F4-5A5F-47a9-8E94-23B4456F55E2};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} @@ -18,7 +18,7 @@ full false bin\Xbox 360\Debug - TRACE;DEBUG;XBOX;XBOX360;COMPACTFRAMEWORK + TRACE;DEBUG;XBOX;XBOX360;NO_SERIALIZATION prompt 4 true @@ -30,7 +30,7 @@ pdbonly true bin\Xbox 360\Release - TRACE;XBOX;XBOX360;COMPACTFRAMEWORK + TRACE;XBOX;XBOX360;NO_SERIALIZATION prompt 4 true diff --git a/Source/Scheduling/AbortedException.cs b/Source/Scheduling/AbortedException.cs index 993f334..b0e5d40 100644 --- a/Source/Scheduling/AbortedException.cs +++ b/Source/Scheduling/AbortedException.cs @@ -43,6 +43,8 @@ namespace Nuclex.Support.Scheduling { /// Preceding exception that has caused this exception public AbortedException(string message, Exception inner) : base(message, inner) { } +#if !NO_SERIALIZATION + /// Initializes the exception from its serialized state /// Contains the serialized fields of the exception /// Additional environmental informations @@ -52,6 +54,8 @@ namespace Nuclex.Support.Scheduling { ) : base(info, context) { } +#endif // !NO_SERIALIZATION + } } // namespace Nuclex.Support.Scheduling