[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / System.XML / System.Xml-bare-net_4_x.csproj
index 5244d4667024dd5bc562e9abf269b6a126560d43..c1b0cbea9204bdfe49ef06f874e51ee9fa870dd8 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{A5216031-11A3-44DD-B2FF-A14AE63BD0C3}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,219,414,649,1717</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_x/bare</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)/bare</OutputPath>\r
     <IntermediateOutputPath>obj-bare</IntermediateOutputPath>\r
     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>\r
     <NoStdLib>True</NoStdLib>\r
@@ -29,7 +32,7 @@
     <DebugType>full</DebugType>\r
     <NoWarn>1699,219,414,649,1717</NoWarn>\r
     <Optimize>false</Optimize>\r
-    <DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;ASYNC</DefineConstants>\r
+    <DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;ASYNC</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
   </PropertyGroup>\r
@@ -37,7 +40,7 @@
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>1699,219,414,649,1717</NoWarn>\r
     <Optimize>true</Optimize>\r
-    <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;ASYNC</DefineConstants>\r
+    <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;ASYNC</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
   </PropertyGroup>\r