diff options
author | Katelyn Gadd <kg@luminance.org> | 2018-04-16 16:54:53 +0300 |
---|---|---|
committer | Ludovic Henry <luhenry@microsoft.com> | 2018-04-16 16:54:53 +0300 |
commit | 7eff6686fdfe1cc6dc03e4dd14103be17b308ff5 (patch) | |
tree | 59be24c86b960351fec293653ef5fd89b685f9a6 /mcs/class/System.IdentityModel | |
parent | a948ed91e745d1c928ddf5ccfe3d60749e341371 (diff) |
Default platform to net_4_x if none is specified, to fix tools that build without setting a platform (#8223)
* Default platform to net_4_x if none is specified, to fix tools that build without setting a platform
* [csproj] Update project files
Diffstat (limited to 'mcs/class/System.IdentityModel')
-rw-r--r-- | mcs/class/System.IdentityModel/System.IdentityModel.csproj | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mcs/class/System.IdentityModel/System.IdentityModel.csproj b/mcs/class/System.IdentityModel/System.IdentityModel.csproj index 6340b388729..d34ffb111dc 100644 --- a/mcs/class/System.IdentityModel/System.IdentityModel.csproj +++ b/mcs/class/System.IdentityModel/System.IdentityModel.csproj @@ -3,6 +3,7 @@ <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">net_4_x</Platform>
<ProjectGuid>{2401CC34-7A55-4EC4-B8BF-6E846245F5FE}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
@@ -49,6 +50,16 @@ <IntermediateOutputPath>./../../class/obj/$(AssemblyName)-monotouch_tv</IntermediateOutputPath>
<DefineConstants>NET_1_1;NET_2_0;NET_2_1;NET_3_5;NET_4_0;NET_4_5;MOBILE;MOBILE_LEGACY;MONO;MONOTOUCH;DISABLE_REMOTING;DISABLE_COM;FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK;FULL_AOT_RUNTIME;MONOTOUCH_TV;NET_3_0</DefineConstants>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Platform)' == 'testing_aot_hybrid' ">
+ <OutputPath>./../../class/lib/testing_aot_hybrid</OutputPath>
+ <IntermediateOutputPath>./../../class/obj/$(AssemblyName)-testing_aot_hybrid</IntermediateOutputPath>
+ <DefineConstants>NET_1_1;NET_2_0;NET_2_1;MOBILE;MOBILE_LEGACY;MOBILE_DYNAMIC;NET_3_5;NET_4_0;NET_4_5;MONO;NET_3_0</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Platform)' == 'testing_aot_full' ">
+ <OutputPath>./../../class/lib/testing_aot_full</OutputPath>
+ <IntermediateOutputPath>./../../class/obj/$(AssemblyName)-testing_aot_full</IntermediateOutputPath>
+ <DefineConstants>NET_1_1;NET_2_0;NET_2_1;NET_3_5;NET_4_0;NET_4_5;MONO;MOBILE;MOBILE_LEGACY;FULL_AOT_DESKTOP;FULL_AOT_RUNTIME;DISABLE_REMOTING;DISABLE_COM;NET_3_0</DefineConstants>
+ </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'winaot' ">
<OutputPath>./../../class/lib/winaot</OutputPath>
<IntermediateOutputPath>./../../class/obj/$(AssemblyName)-winaot</IntermediateOutputPath>
@@ -390,6 +401,20 @@ <ItemGroup Condition=" '$(Platform)' == 'monotouch_tv' ">
<ProjectReference Include="../Mono.Security/Mono.Security.csproj" />
</ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_hybrid' ">
+ <Reference Include="nunitlite">
+ <HintPath>..\lib\testing_aot_hybrid\nunitlite.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <ProjectReference Include="../Mono.Security/Mono.Security.csproj" />
+ </ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_full' ">
+ <Reference Include="nunitlite">
+ <HintPath>..\lib\testing_aot_full\nunitlite.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <ProjectReference Include="../Mono.Security/Mono.Security.csproj" />
+ </ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'winaot' ">
<ProjectReference Include="../Mono.Security/Mono.Security.csproj" />
</ItemGroup>
|