[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Mono.Parallel / Mono.Parallel-net_4_x.csproj
index 6cd87f2076497788f94da58975c5bcd48ea5cc67..917621cbd2ef52eaa4474873b190d963dd0e78ef 100644 (file)
@@ -9,8 +9,11 @@
     <ProjectGuid>{18E55AE4-6B9B-44EF-94C9-1084D5472E63}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_x</OutputPath>\r
-    <IntermediateOutputPath>obj-net_4_x</IntermediateOutputPath>\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)</OutputPath>\r
+    <IntermediateOutputPath>obj-net_4_x-$(HostPlatform)</IntermediateOutputPath>\r
     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>\r
     <NoStdLib>True</NoStdLib>\r
     \r