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.ServiceModel.Internals | |
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.ServiceModel.Internals')
-rw-r--r-- | mcs/class/System.ServiceModel.Internals/System.ServiceModel.Internals.csproj | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mcs/class/System.ServiceModel.Internals/System.ServiceModel.Internals.csproj b/mcs/class/System.ServiceModel.Internals/System.ServiceModel.Internals.csproj index df407bb875e..29f4f6e4345 100644 --- a/mcs/class/System.ServiceModel.Internals/System.ServiceModel.Internals.csproj +++ b/mcs/class/System.ServiceModel.Internals/System.ServiceModel.Internals.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>{3926C332-1461-45D1-BC35-347928B965F8}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
@@ -48,6 +49,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;MONO_FEATURE_MULTIPLE_APPDOMAINS</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;MONO_FEATURE_MULTIPLE_APPDOMAINS</DefineConstants>
+ </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'winaot' ">
<OutputPath>./../../class/lib/winaot</OutputPath>
<IntermediateOutputPath>./../../class/obj/$(AssemblyName)-winaot</IntermediateOutputPath>
@@ -189,6 +200,12 @@ <ItemGroup Condition=" '$(Platform)' == 'monotouch_tv' ">
<Compile Include="MobileStubs.cs" />
</ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_hybrid' ">
+ <Compile Include="MobileStubs.cs" />
+ </ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'testing_aot_full' ">
+ <Compile Include="MobileStubs.cs" />
+ </ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'winaot' ">
<Compile Include="..\referencesource\System.ServiceModel.Internals\System\Runtime\Interop\SafeEventLogWriteHandle.cs" />
<Compile Include="..\referencesource\System.ServiceModel.Internals\System\Runtime\Interop\UnsafeNativeMethods.cs" />
@@ -217,6 +234,18 @@ <ProjectReference Include="../System.XML/System.Xml.csproj" />
<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 |