[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / System.Web / System.Web-plainweb-net_4_x.csproj
index 8ece36e1643c30a602689b353880dc9b83dae659..522309d959df785d0867dd32e375c0194feb9097 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{DE51B021-D51C-4F26-99EE-B0729D97631E}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,612,618,436,618</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_x/plainweb</OutputPath>\r
+    <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Windows_NT'">win32</HostPlatform>\r
+    <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix' and $([System.IO.File]::Exists('/usr/lib/libc.dylib'))">darwin</HostPlatform>\r
+    <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix'">linux</HostPlatform>\r
+    <OutputPath>./../../class/lib/net_4_x-$(HostPlatform)/plainweb</OutputPath>\r
     <IntermediateOutputPath>obj-plainweb</IntermediateOutputPath>\r
     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>\r
     <NoStdLib>True</NoStdLib>\r
@@ -29,7 +32,7 @@
     <DebugType>full</DebugType>\r
     <NoWarn>1699,612,618,436,618</NoWarn>\r
     <Optimize>false</Optimize>\r
-    <DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;INSIDE_SYSTEM_WEB</DefineConstants>\r
+    <DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;INSIDE_SYSTEM_WEB</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
   </PropertyGroup>\r
@@ -37,7 +40,7 @@
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>1699,612,618,436,618</NoWarn>\r
     <Optimize>true</Optimize>\r
-    <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;INSIDE_SYSTEM_WEB</DefineConstants>\r
+    <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;INSIDE_SYSTEM_WEB</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
   </PropertyGroup>\r