Define `DISABLE_SECURITY` and `DISABLE_REMOTING` on wasm and testing_aot.
[mono-project.git] / mcs / class / Facades / System.Diagnostics.Contracts / Facades_System.Diagnostics.Contracts.csproj
blobeb45c444c3aba28fce61de68ca3f5c8cb6c4bb72
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- WARNING: this file is autogenerated, don't modify it. Edit the .sources file of the corresponding assembly instead if you want to add/remove C# source files. -->
3 <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4   <PropertyGroup>
5     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6     <Platform Condition=" '$(Platform)' == '' ">net_4_x</Platform>
7     <ProjectGuid>{A62F4CA5-28A8-45E0-A94B-11D82EEAD7B5}</ProjectGuid>
8     <OutputType>Library</OutputType>
9     <NoWarn>1699,1616,1699</NoWarn>
10     <LangVersion>latest</LangVersion>
11     <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Windows_NT'">win32</HostPlatform>
12     <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix' and $([System.IO.File]::Exists('/usr/lib/libc.dylib'))">macos</HostPlatform>
13     <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix'">linux</HostPlatform>
14     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
15     <NoStdLib>True</NoStdLib>
16     <NoConfig>True</NoConfig>
17     <AssemblyName>System.Diagnostics.Contracts</AssemblyName>
18     <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
19     <SignAssembly>true</SignAssembly>
20     <DelaySign>true</DelaySign>
21     <AssemblyOriginatorKeyFile>../../msfinal.pub</AssemblyOriginatorKeyFile>
22   </PropertyGroup>
23   <PropertyGroup>
24     <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
25     Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
26     is a problem to compile the Mono mscorlib.dll -->
27     <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
28   </PropertyGroup>
29   <PropertyGroup Condition=" '$(Platform)' == 'net_4_x' ">
30     <OutputPath>./../../../class/lib/net_4_x-$(HostPlatform)/Facades</OutputPath>
31     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
32     <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM</DefineConstants>
33   </PropertyGroup>
34   <PropertyGroup Condition=" '$(Platform)' == 'monodroid' ">
35     <OutputPath>./../../../class/lib/monodroid/Facades</OutputPath>
36     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
37     <DefineConstants>NET_1_1;NET_2_0;NET_2_1;NET_3_5;NET_4_0;NET_4_5;MONO;MOBILE;MOBILE_LEGACY;MOBILE_DYNAMIC;MONODROID;ANDROID</DefineConstants>
38   </PropertyGroup>
39   <PropertyGroup Condition=" '$(Platform)' == 'monotouch' ">
40     <OutputPath>./../../../class/lib/monotouch/Facades</OutputPath>
41     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
42     <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_COM;FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK;FULL_AOT_RUNTIME</DefineConstants>
43   </PropertyGroup>
44   <PropertyGroup Condition=" '$(Platform)' == 'monotouch_watch' ">
45     <OutputPath>./../../../class/lib/monotouch_watch/Facades</OutputPath>
46     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
47     <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_COM;FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK;FULL_AOT_RUNTIME;FEATURE_NO_BSD_SOCKETS;MONOTOUCH_WATCH</DefineConstants>
48   </PropertyGroup>
49   <PropertyGroup Condition=" '$(Platform)' == 'monotouch_tv' ">
50     <OutputPath>./../../../class/lib/monotouch_tv/Facades</OutputPath>
51     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
52     <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_COM;FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK;FULL_AOT_RUNTIME;MONOTOUCH_TV</DefineConstants>
53   </PropertyGroup>
54   <PropertyGroup Condition=" '$(Platform)' == 'testing_aot_full_interp' ">
55     <OutputPath>./../../../class/lib/testing_aot_full_interp/Facades</OutputPath>
56     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
57     <DefineConstants>NET_1_1;NET_2_0;NET_2_1;NET_3_5;NET_4_0;NET_4_5;MONO;MOBILE;MOBILE_LEGACY;DISABLE_REMOTING;DISABLE_SECURITY;FULL_AOT_INTERP;DISABLE_COM</DefineConstants>
58   </PropertyGroup>
59   <PropertyGroup Condition=" '$(Platform)' == 'testing_aot_hybrid' ">
60     <OutputPath>./../../../class/lib/testing_aot_hybrid/Facades</OutputPath>
61     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
62     <DefineConstants>NET_1_1;NET_2_0;NET_2_1;NET_3_5;NET_4_0;NET_4_5;MONO;MOBILE;MOBILE_LEGACY;DISABLE_REMOTING;DISABLE_SECURITY;MOBILE_DYNAMIC</DefineConstants>
63   </PropertyGroup>
64   <PropertyGroup Condition=" '$(Platform)' == 'testing_aot_full' ">
65     <OutputPath>./../../../class/lib/testing_aot_full/Facades</OutputPath>
66     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
67     <DefineConstants>NET_1_1;NET_2_0;NET_2_1;NET_3_5;NET_4_0;NET_4_5;MONO;MOBILE;MOBILE_LEGACY;DISABLE_REMOTING;DISABLE_SECURITY;FULL_AOT_DESKTOP;FULL_AOT_RUNTIME;DISABLE_COM</DefineConstants>
68   </PropertyGroup>
69   <PropertyGroup Condition=" '$(Platform)' == 'winaot' ">
70     <OutputPath>./../../../class/lib/winaot/Facades</OutputPath>
71     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
72     <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_COM;WIN_PLATFORM</DefineConstants>
73   </PropertyGroup>
74   <PropertyGroup Condition=" '$(Platform)' == 'xammac' ">
75     <OutputPath>./../../../class/lib/xammac/Facades</OutputPath>
76     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
77     <DefineConstants>NET_1_1;NET_2_0;NET_2_1;NET_3_5;NET_4_0;NET_4_5;MONO;MOBILE;MOBILE_DYNAMIC;XAMMAC;FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK;XAMARIN_MODERN</DefineConstants>
78   </PropertyGroup>
79   <PropertyGroup Condition=" '$(Platform)' == 'xammac_net_4_5' ">
80     <OutputPath>./../../../class/lib/xammac_net_4_5/Facades</OutputPath>
81     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
82     <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK;NO_SYSTEM_DRAWING_DEPENDENCY;NO_WINFORMS_DEPENDENCY;NO_SYSTEM_WEB_DEPENDENCY;XAMMAC_4_5;XAMARIN_MODERN</DefineConstants>
83   </PropertyGroup>
84   <PropertyGroup Condition=" '$(Platform)' == 'orbis' ">
85     <OutputPath>./../../../class/lib/orbis/Facades</OutputPath>
86     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
87     <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;ORBIS;DISABLE_COM</DefineConstants>
88   </PropertyGroup>
89   <PropertyGroup Condition=" '$(Platform)' == 'unreal' ">
90     <OutputPath>./../../../class/lib/unreal/Facades</OutputPath>
91     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
92     <DefineConstants>NET_1_1;NET_2_0;NET_2_1;MOBILE;MOBILE_DYNAMIC;NET_3_5;NET_4_0;NET_4_5;MONO</DefineConstants>
93   </PropertyGroup>
94   <PropertyGroup Condition=" '$(Platform)' == 'wasm' ">
95     <OutputPath>./../../../class/lib/wasm/Facades</OutputPath>
96     <IntermediateOutputPath>./../../../class/obj/$(AssemblyName)-Facades</IntermediateOutputPath>
97     <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;WASM;DISABLE_COM;FEATURE_NO_BSD_SOCKETS;DISABLE_REMOTING;DISABLE_SECURITY</DefineConstants>
98   </PropertyGroup>
99   <!-- @ALL_PROFILE_PROPERTIES@ -->
100   <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
101     <DebugSymbols>true</DebugSymbols>
102     <DebugType>full</DebugType>
103     <Optimize>false</Optimize>
104     <!-- TRACE is set only for Debug configuration, so inherit from platform-specific value -->
105     <DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
106   </PropertyGroup>
107   <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
108     <DebugType>pdbonly</DebugType>
109     <Optimize>true</Optimize>
110   </PropertyGroup>
111   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
112   <!-- @BUILT_SOURCES@ -->
113   <!--Common files-->
114   <ItemGroup>
115     <Compile Include="AssemblyInfo.cs" />
116     <Compile Include="TypeForwarders.cs" />
117   </ItemGroup>
118   <!--End of common files-->
119   <!-- @ALL_SOURCES@ -->
120   <ItemGroup>
121     <ProjectReference Include="../../corlib/corlib.csproj" />
122   </ItemGroup>
123   <ItemGroup Condition=" '$(Platform)' == 'testing_aot_full_interp' ">
124     <Reference Include="nunitlite">
125       <HintPath>..\lib\testing_aot_full_interp\nunitlite.dll</HintPath>
126       <Private>False</Private>
127     </Reference>
128   </ItemGroup>
129   <ItemGroup Condition=" '$(Platform)' == 'testing_aot_hybrid' ">
130     <Reference Include="nunitlite">
131       <HintPath>..\lib\testing_aot_hybrid\nunitlite.dll</HintPath>
132       <Private>False</Private>
133     </Reference>
134   </ItemGroup>
135   <ItemGroup Condition=" '$(Platform)' == 'testing_aot_full' ">
136     <Reference Include="nunitlite">
137       <HintPath>..\lib\testing_aot_full\nunitlite.dll</HintPath>
138       <Private>False</Private>
139     </Reference>
140   </ItemGroup>
141   <!-- @ALL_REFERENCES@ -->
142   <!-- @ALL_RESOURCES@ -->
143   <PropertyGroup>
144     <!-- Force the pre-build event to run after references have been resolved. The default
145       behavior is to run them before resolving references, which can cause things like
146       culevel.exe to be used before they have been built. -->
147     <PreBuildEventDependsOn>ResolveReferences</PreBuildEventDependsOn>
148   </PropertyGroup>
149 </Project>