[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / System.XML / System.Xml-bare-net_4_x.csproj
index c6fa9f18a70843a654f7242834feba09b94e7579..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