Fixed compilation error on XBox 360

git-svn-id: file:///srv/devel/repo-conversion/nusu@156 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2009-06-25 19:36:18 +00:00
parent 5d36825fc8
commit 8f16d09c8a
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup> <PropertyGroup>
<ProjectGuid>{DFFEAB70-51B8-4714-BCA6-79B733BBC520}</ProjectGuid> <ProjectGuid>{DFFEAB70-51B8-4714-BCA6-79B733BBC520}</ProjectGuid>
<ProjectTypeGuids>{2DF5C3F4-5A5F-47a9-8E94-23B4456F55E2};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> <ProjectTypeGuids>{2DF5C3F4-5A5F-47a9-8E94-23B4456F55E2};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
@ -18,7 +18,7 @@
<DebugType>full</DebugType> <DebugType>full</DebugType>
<Optimize>false</Optimize> <Optimize>false</Optimize>
<OutputPath>bin\Xbox 360\Debug</OutputPath> <OutputPath>bin\Xbox 360\Debug</OutputPath>
<DefineConstants>TRACE;DEBUG;XBOX;XBOX360;COMPACTFRAMEWORK</DefineConstants> <DefineConstants>TRACE;DEBUG;XBOX;XBOX360;NO_SERIALIZATION</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib> <NoStdLib>true</NoStdLib>
@ -30,7 +30,7 @@
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<OutputPath>bin\Xbox 360\Release</OutputPath> <OutputPath>bin\Xbox 360\Release</OutputPath>
<DefineConstants>TRACE;XBOX;XBOX360;COMPACTFRAMEWORK</DefineConstants> <DefineConstants>TRACE;XBOX;XBOX360;NO_SERIALIZATION</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib> <NoStdLib>true</NoStdLib>

View File

@ -43,6 +43,8 @@ namespace Nuclex.Support.Scheduling {
/// <param name="inner">Preceding exception that has caused this exception</param> /// <param name="inner">Preceding exception that has caused this exception</param>
public AbortedException(string message, Exception inner) : base(message, inner) { } public AbortedException(string message, Exception inner) : base(message, inner) { }
#if !NO_SERIALIZATION
/// <summary>Initializes the exception from its serialized state</summary> /// <summary>Initializes the exception from its serialized state</summary>
/// <param name="info">Contains the serialized fields of the exception</param> /// <param name="info">Contains the serialized fields of the exception</param>
/// <param name="context">Additional environmental informations</param> /// <param name="context">Additional environmental informations</param>
@ -52,6 +54,8 @@ namespace Nuclex.Support.Scheduling {
) : ) :
base(info, context) { } base(info, context) { }
#endif // !NO_SERIALIZATION
} }
} // namespace Nuclex.Support.Scheduling } // namespace Nuclex.Support.Scheduling