[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel-plainservice-net_4_x.csproj
index 3f7b36f893ee15e8da610d66dd0a6383b91c3b12..03f3de5243565e9f05739e09052fcd81067153f4 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{88C258E1-F0AF-47DA-96C8-7FA6421067CD}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,414,169,67,3005,436,219,618</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_x/plainservice</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)/plainservice</OutputPath>\r
     <IntermediateOutputPath>obj-plainservice</IntermediateOutputPath>\r
     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>\r
     <NoStdLib>True</NoStdLib>\r
@@ -29,7 +32,7 @@
     <DebugType>full</DebugType>\r
     <NoWarn>1699,414,169,67,3005,436,219,618</NoWarn>\r
     <Optimize>false</Optimize>\r
-    <DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;TRACE;NET_3_0</DefineConstants>\r
+    <DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;TRACE;NET_3_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
   </PropertyGroup>\r
@@ -37,7 +40,7 @@
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>1699,414,169,67,3005,436,219,618</NoWarn>\r
     <Optimize>true</Optimize>\r
-    <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;TRACE;NET_3_0</DefineConstants>\r
+    <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;TRACE;NET_3_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
   </PropertyGroup>\r