Skip to content

Commit

Permalink
Add a Windows 8.1 + Windows Phone 8.1 Target
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts authored and Kirk Shoop (MS Open Tech) committed Apr 17, 2014
1 parent 0f3ca59 commit 03368da
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Rx.NET/Source/Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
<BuildTarget>8</BuildTarget>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug81|AnyCPU' ">
<BuildConfig>Debug</BuildConfig>
<BuildTarget>81</BuildTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release81|AnyCPU' ">
<BuildConfig>Release</BuildConfig>
<BuildTarget>81</BuildTarget>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug40|AnyCPU' ">
<BuildConfig>Debug</BuildConfig>
<BuildTarget>40</BuildTarget>
Expand Down Expand Up @@ -113,6 +122,17 @@
<DefaultLanguage>en-US</DefaultLanguage>
</PropertyGroup>

<PropertyGroup Condition=" '$(BuildTarget)' == '81' ">
<DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_EDI;HAS_WINRT;HAS_PROGRESS;PREFER_ASYNC;HAS_AWAIT; NO_REMOTING;NO_SERIALIZABLE;NO_THREAD;CRIPPLED_REFLECTION;USE_TIMER_SELF_ROOT</DefineConstants>
<TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NoStdLib>true</NoStdLib>
<BuildPlatform>WINDOWS</BuildPlatform>
<BuildFlavor>WINDOWS81</BuildFlavor>
<TargetFrameworkProfile>Profile32</TargetFrameworkProfile>
<DefaultLanguage>en-US</DefaultLanguage>
</PropertyGroup>

<PropertyGroup Condition=" '$(BuildTarget)' == '40' ">
<DefineConstants>$(DefineConstants);NO_TASK_DELAY;HAS_APTCA;HAS_WINFORMS;USE_TIMER_SELF_ROOT</DefineConstants>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
Expand Down Expand Up @@ -320,6 +340,11 @@
<Reference Include="System.Core" />
</ItemGroup>

<ItemGroup Condition=" '$(BuildTarget)' == '81' ">
<TargetPlatform Include="Windows, Version=8.1" />
<TargetPlatform Include="WindowsPhoneApp, Version=8.1" />
</ItemGroup>

<!-- Temporary flag to enable stress test builds. Should be refactored into a separate project and be written in a more platform-neutral manner. (TFS 484720) -->
<PropertyGroup Condition=" '$(BuildFlavor)' == 'DESKTOPCLR40' OR '$(BuildFlavor)' == 'DESKTOPCLR45' ">
<DefineConstants>$(DefineConstants);STRESS</DefineConstants>
Expand Down

0 comments on commit 03368da

Please sign in to comment.