Browse files

Fix WinRT to register ISuspensionHost on startup

  • Loading branch information...
1 parent 5679b5d commit e4717c052ebe8bf9b7d6abd529de2b5f2221e684 @paulcbetts paulcbetts committed Feb 25, 2013
Showing with 8 additions and 10 deletions.
  1. +8 −8 MobileSample-WinRT/MobileSample-WinRT.csproj
  2. +0 −2 ReactiveUI.sln
View
16 MobileSample-WinRT/MobileSample-WinRT.csproj
@@ -20,7 +20,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;WINRT; NETFX_CORE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -29,14 +29,14 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE;NETFX_CORE</DefineConstants>
+ <DefineConstants>TRACE;WINRT; NETFX_CORE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;WINRT; NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
@@ -46,7 +46,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
- <DefineConstants>TRACE;NETFX_CORE</DefineConstants>
+ <DefineConstants>TRACE;WINRT; NETFX_CORE</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
@@ -58,7 +58,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;WINRT; NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
@@ -68,7 +68,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
- <DefineConstants>TRACE;NETFX_CORE</DefineConstants>
+ <DefineConstants>TRACE;WINRT; NETFX_CORE</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
@@ -80,7 +80,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;WINRT; NETFX_CORE</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
@@ -90,7 +90,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
- <DefineConstants>TRACE;NETFX_CORE</DefineConstants>
+ <DefineConstants>TRACE;WINRT; NETFX_CORE</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
View
2 ReactiveUI.sln
@@ -656,13 +656,11 @@ Global
{B90F3D02-1E3A-4DD7-8E00-30F28B6DCC1E}.Release|x86.Build.0 = Release|x86
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B5708000-73EE-43A2-9830-454C74B037F1}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|ARM.ActiveCfg = Debug|ARM
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|ARM.Build.0 = Debug|ARM
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|ARM.Deploy.0 = Debug|ARM
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|Mixed Platforms.Build.0 = Debug|x86
- {B5708000-73EE-43A2-9830-454C74B037F1}.Debug|Mixed Platforms.Deploy.0 = Debug|x86
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|x64.ActiveCfg = Debug|Any CPU
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|x86.ActiveCfg = Debug|x86
{B5708000-73EE-43A2-9830-454C74B037F1}.Debug|x86.Build.0 = Debug|x86

0 comments on commit e4717c0

Please sign in to comment.