diff options
Diffstat (limited to 'external/rx/Rx/NET/Source/Common.targets')
-rw-r--r-- | external/rx/Rx/NET/Source/Common.targets | 127 |
1 files changed, 90 insertions, 37 deletions
diff --git a/external/rx/Rx/NET/Source/Common.targets b/external/rx/Rx/NET/Source/Common.targets index 90b6fe2006..5fdb426ee1 100644 --- a/external/rx/Rx/NET/Source/Common.targets +++ b/external/rx/Rx/NET/Source/Common.targets @@ -23,6 +23,15 @@ <BuildTarget>PL</BuildTarget> </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugPLLITE|AnyCPU' "> + <BuildConfig>Debug</BuildConfig> + <BuildTarget>PLLITE</BuildTarget> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleasePLLITE|AnyCPU' "> + <BuildConfig>Release</BuildConfig> + <BuildTarget>PLLITE</BuildTarget> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug45|AnyCPU' "> <BuildConfig>Debug</BuildConfig> <BuildTarget>45</BuildTarget> @@ -77,15 +86,6 @@ <BuildTarget>WP8</BuildTarget> </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugXBLV|AnyCPU' "> - <BuildConfig>Debug</BuildConfig> - <BuildTarget>XBLV</BuildTarget> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseXBLV|AnyCPU' "> - <BuildConfig>Release</BuildConfig> - <BuildTarget>XBLV</BuildTarget> - </PropertyGroup> - <PropertyGroup Condition=" '$(BuildTarget)' == 'PL' "> <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;HAS_EDI;HAS_WINRT;HAS_PROGRESS;PREFER_ASYNC;HAS_AWAIT;HAS_APTCA;NO_REMOTING;NO_SERIALIZABLE;NO_THREAD;CRIPPLED_REFLECTION;PLIB;NO_CDS_COLLECTIONS;USE_TIMER_SELF_ROOT</DefineConstants> @@ -93,7 +93,6 @@ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkProfile>Profile78</TargetFrameworkProfile> <NoStdLib>true</NoStdLib> - <!-- <SignKeyEnhanced>true</SignKeyEnhanced> Disabled due to CLR signing bug w/ SHA2 keys blocking Windows Phone 8 apps from being signed. --> </PropertyGroup> <PropertyGroup Condition=" '$(BuildTarget)' == '45' "> @@ -102,7 +101,6 @@ <NoStdLib>true</NoStdLib> <BuildPlatform>DESKTOPCLR</BuildPlatform> <BuildFlavor>DESKTOPCLR45</BuildFlavor> - <!-- <SignKeyEnhanced>true</SignKeyEnhanced> Disabled due to CLR signing bug w/ SHA2 keys blocking Windows Phone 8 apps from being signed. --> </PropertyGroup> <PropertyGroup Condition=" '$(BuildTarget)' == '8' "> @@ -113,7 +111,6 @@ <BuildPlatform>WINDOWS</BuildPlatform> <BuildFlavor>WINDOWS8</BuildFlavor> <DefaultLanguage>en-US</DefaultLanguage> - <!-- <SignKeyEnhanced>true</SignKeyEnhanced> Disabled due to CLR signing bug w/ SHA2 keys blocking Windows Phone 8 apps from being signed. --> </PropertyGroup> <PropertyGroup Condition=" '$(BuildTarget)' == '40' "> @@ -132,6 +129,23 @@ <BuildPlatform>SILVERLIGHT</BuildPlatform> <BuildFlavor>SILVERLIGHT5</BuildFlavor> </PropertyGroup> + + + + <PropertyGroup Condition=" '$(BuildTarget)' == 'PLLITE' "> + <DefineConstants>$(DefineConstants);NO_RXINTERFACES;NO_SERIALIZABLE;NO_REMOTING;NO_SEMAPHORE;NO_STOPWATCH;NO_CDS;PLIB;PLIB_LITE;NO_THREAD;USE_TASKEX;CRIPPLED_REFLECTION</DefineConstants> + <TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <!-- + Profile2 = .NET for Windows Store apps, .NET Framework 4, Silverlight 4, Windows Phone 7 + Profile36 = .NET for Windows Store apps, .NET Framework 4, Silverlight 4, Windows Phone 8 + Profile88 = .NET for Windows Store apps, .NET Framework 4, Silverlight 4, Windows Phone 7.5 + Profile96 = .NET for Windows Store apps, .NET Framework 4.0.3, Silverlight 4, Windows Phone 7.5 + Profile136 = .NET for Windows Store apps, .NET Framework 4, Silverlight 5, Windows Phone 8 + --> + <TargetFrameworkProfile>Profile136</TargetFrameworkProfile> + <NoStdLib>true</NoStdLib> + </PropertyGroup> <PropertyGroup Condition=" '$(BuildTarget)' == 'WP7' "> <DefineConstants>$(DefineConstants);USE_SL_DISPATCHER;NO_SERIALIZABLE;NO_REMOTING;NO_CDS;NO_TLS;NO_VARIANCE;NO_TPL;NO_HASHSET;NO_SEMAPHORE;NO_LARGEARITY;NO_EXPRESSIONVISITOR;NO_LAZY;NO_WEAKTABLE;NO_INTERLOCKED_64;WINDOWSPHONE7</DefineConstants> @@ -145,7 +159,7 @@ </PropertyGroup> <PropertyGroup Condition=" '$(BuildTarget)' == 'WP8' "> - <DefineConstants>$(DefineConstants);NO_EVENTARGS_CONSTRAINT;USE_SL_DISPATCHER;NO_SERIALIZABLE;NO_REMOTING;NO_CDS_COLLECTIONS;USE_TIMER_SELF_ROOT</DefineConstants> + <DefineConstants>$(DefineConstants);HAS_EDI;HAS_PROGRESS;PREFER_ASYNC;HAS_AWAIT;NO_EVENTARGS_CONSTRAINT;USE_SL_DISPATCHER;HAS_WINRT;NO_SERIALIZABLE;NO_REMOTING;NO_CDS_COLLECTIONS;USE_TIMER_SELF_ROOT</DefineConstants> <TargetFrameworkIdentifier>WindowsPhone</TargetFrameworkIdentifier> <TargetFrameworkVersion>v8.0</TargetFrameworkVersion> <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> @@ -153,20 +167,16 @@ <BuildPlatform>WINDOWS_PHONE</BuildPlatform> <BuildFlavor>WINDOWS_PHONE8</BuildFlavor> <NoStdLib>true</NoStdLib> - <!-- <SignKeyEnhanced>true</SignKeyEnhanced> Disabled due to CLR signing bug w/ SHA2 keys blocking Windows Phone 8 apps from being signed. --> - </PropertyGroup> - - <PropertyGroup Condition=" '$(BuildTarget)' == 'XBLV' "> - <DefineConstants>$(DefineConstants);NO_RXINTERFACES;USE_SL_DISPATCHER;NO_SERIALIZABLE;NO_REMOTING;NO_SEMAPHORE;NO_STOPWATCH;NO_CDS;NO_TPL;NO_LAZY;NO_WEAKTABLE;NO_VARIANCE;NO_HASHSET;NO_LARGEARITY;NO_EXPRESSIONVISITOR;NO_EXPRESSIONS</DefineConstants> - <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier> - <TargetFrameworkVersion>v3.0</TargetFrameworkVersion> - <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> - <SilverlightApplication>false</SilverlightApplication> - <BuildPlatform>SILVERLIGHT</BuildPlatform> - <BuildFlavor>XBOX_LAKEVIEW</BuildFlavor> </PropertyGroup> - + <!--<PropertyGroup Condition=" '$(BuildTarget)' == 'PortableWP7' "> + <DefineConstants>$(DefineConstants);NO_VARIANCE;NO_EVENTARGS_CONSTRAINT;HAS_EDI;HAS_WINRT;HAS_PROGRESS;PREFER_ASYNC;HAS_AWAIT;HAS_APTCA;NO_REMOTING;NO_SERIALIZABLE;NO_THREAD;CRIPPLED_REFLECTION;PLIB;NO_CDS_COLLECTIONS;USE_TIMER_SELF_ROOT</DefineConstants> + <TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Profile4</TargetFrameworkProfile> + <NoStdLib>true</NoStdLib> + </PropertyGroup>--> + <!-- ******************** * LEGACY PLATFORMS * @@ -281,7 +291,7 @@ <PropertyGroup> <DefineConstants>$(DefineConstants);$(BuildPlatform);$(BuildFlavor);TRACE</DefineConstants> - <OutputPath>bin\$(BuildConfig)$(BuildTarget)</OutputPath> + <OutputPath>..\bin\$(BuildConfig)$(BuildTarget)</OutputPath> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> @@ -315,23 +325,14 @@ <DefineConstants>$(DefineConstants);STRESS</DefineConstants> </PropertyGroup> - <PropertyGroup Condition=" '$(ProductSignAssembly)' == 'true' AND '$(SignedBuild)' == '1' "> + <PropertyGroup Condition=" '$(ProductSignAssembly)' == 'true' AND '$(Sign)' == 'Sign' "> <DefineConstants>$(DefineConstants);SIGNED</DefineConstants> <SignAssembly>true</SignAssembly> <DelaySign>true</DelaySign> - </PropertyGroup> - - <PropertyGroup Condition=" '$(SignAssembly)' == 'true' AND '$(SignKeyEnhanced)' != 'true' "> - <AssemblyOriginatorKeyFile>..\..\..\Private\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile> + <AssemblyOriginatorKeyFile>..\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile> <SignKeyId>72</SignKeyId> </PropertyGroup> - <PropertyGroup Condition=" '$(SignAssembly)' == 'true' AND '$(SignKeyEnhanced)' == 'true' "> - <AssemblyOriginatorKeyFile>..\..\..\Private\272MSSharedLibSN2048.snk</AssemblyOriginatorKeyFile> - <DefineConstants>$(DefineConstants);SIGNENHANCED</DefineConstants> - <SignKeyId>272</SignKeyId> - </PropertyGroup> - <PropertyGroup Condition=" '$(BuildLab)' == '1' "> <DefineConstants>$(DefineConstants);NO_CODECOVERAGE</DefineConstants> </PropertyGroup> @@ -345,5 +346,57 @@ <PropertyGroup> <ReferencePath>$(MSBuildProjectDirectory)\..\References\$(BuildFlavor)</ReferencePath> </PropertyGroup> + +<!-- + ************************************************ + * GENERAL REFERENCES - Microsoft.Bcl and Async * + ************************************************ + --> + + <ItemGroup Condition=" '$(BuildTarget)' == 'PLLITE' "> + <!--- Microsoft.Bcl References --> + <Reference Include="System.Runtime"> + <HintPath>..\packages\Microsoft.Bcl.1.0.19\lib\portable-net40+sl5+win8+wp8\System.Runtime.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="System.Threading.Tasks"> + <HintPath>..\packages\Microsoft.Bcl.1.0.19\lib\portable-net40+sl5+win8+wp8\System.Threading.Tasks.dll</HintPath> + <Private>False</Private> + </Reference> + <!--- Microsoft.Bcl.Async References --> + <Reference Include="Microsoft.Threading.Tasks"> + <HintPath>..\packages\Microsoft.Bcl.Async.1.0.16\lib\portable-net40+sl4+win8+wp71\Microsoft.Threading.Tasks.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="Microsoft.Threading.Tasks.Extensions"> + <HintPath>..\packages\Microsoft.Bcl.Async.1.0.16\lib\portable-net40+sl4+win8+wp71\Microsoft.Threading.Tasks.Extensions.dll</HintPath> + <Private>False</Private> + </Reference> + </ItemGroup> + + <ItemGroup Condition=" '$(BuildTarget)' == '40' "> + + <Reference Include="Microsoft.Threading.Tasks"> + <HintPath>..\packages\Microsoft.Bcl.Async.1.0.16\lib\net40\Microsoft.Threading.Tasks.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="Microsoft.Threading.Tasks.Extensions"> + <HintPath>..\packages\Microsoft.Bcl.Async.1.0.16\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop"> + <HintPath>..\packages\Microsoft.Bcl.Async.1.0.16\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="System.Runtime"> + <HintPath>..\packages\Microsoft.Bcl.1.0.19\lib\net40\System.Runtime.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="System.Threading.Tasks"> + <HintPath>..\packages\Microsoft.Bcl.1.0.19\lib\net40\System.Threading.Tasks.dll</HintPath> + <Private>False</Private> + </Reference> + </ItemGroup> + </Project> |