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/Mono.Security | |
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/Mono.Security')
-rw-r--r-- | mcs/class/Mono.Security/Mono.Security.csproj | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mcs/class/Mono.Security/Mono.Security.csproj b/mcs/class/Mono.Security/Mono.Security.csproj index 8882458d0a5..f908dabb4ee 100644 --- a/mcs/class/Mono.Security/Mono.Security.csproj +++ b/mcs/class/Mono.Security/Mono.Security.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>{117140AC-A163-4B86-9E69-A46EA268A9DB}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,1030,3009</NoWarn>
@@ -55,6 +56,16 @@ <IntermediateOutputPath>./../../class/obj/$(AssemblyName)-monotouch_tv_runtime</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;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>
@@ -332,6 +343,28 @@ <Private>False</Private>
</Reference>
</ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_hybrid' ">
+ <Reference Include="nunitlite">
+ <HintPath>..\lib\testing_aot_hybrid\nunitlite.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="./../../../external/binary-reference-assemblies/build/monotouch/System.dll">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>./../../../external/binary-reference-assemblies/build/monotouch/System.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>
+ <Reference Include="./../../../external/binary-reference-assemblies/build/monotouch/System.dll">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>./../../../external/binary-reference-assemblies/build/monotouch/System.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ </ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'winaot' ">
<Reference Include="./../../../external/binary-reference-assemblies/build/monotouch/System.dll">
<SpecificVersion>False</SpecificVersion>
|