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.Runtime.CompilerServices.Unsafe | |
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.Runtime.CompilerServices.Unsafe')
-rw-r--r-- | mcs/class/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.csproj | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mcs/class/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.csproj b/mcs/class/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.csproj index 1cdc7058f6f..5a9f26aafb8 100644 --- a/mcs/class/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.csproj +++ b/mcs/class/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.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>{392BF825-F4D5-4307-97A7-3E7FDA1A36BD}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
@@ -47,6 +48,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</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</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</DefineConstants>
+ </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'winaot' ">
<OutputPath>./../../class/lib/winaot</OutputPath>
<IntermediateOutputPath>./../../class/obj/$(AssemblyName)-winaot</IntermediateOutputPath>
@@ -96,6 +107,8 @@ <ItemGroup Condition=" '$(Platform)' == 'monotouch' "></ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'monotouch_watch' "></ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'monotouch_tv' "></ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_hybrid' "></ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_full' "></ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'winaot' "></ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'xammac' "></ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'xammac_net_4_5' "></ItemGroup>
@@ -106,6 +119,18 @@ <ItemGroup>
<ProjectReference Include="../corlib/corlib.csproj" />
</ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_hybrid' ">
+ <Reference Include="nunitlite">
+ <HintPath>..\lib\testing_aot_hybrid\nunitlite.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_full' ">
+ <Reference Include="nunitlite">
+ <HintPath>..\lib\testing_aot_full\nunitlite.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ </ItemGroup>
<!-- @ALL_REFERENCES@ -->
<!-- @ALL_RESOURCES@ -->
</Project>
\ No newline at end of file |