[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / System.ComponentModel.Composition.4.5 / System.ComponentModel.Composition-net_4_x.csproj
index a1a4b40d89064536b1e25c6ac4ffc76b101f4d7e..cfcdae8e1d3c933d55e7970929d3fed17615287f 100644 (file)
@@ -9,8 +9,11 @@
     <ProjectGuid>{9091B5ED-8AFF-4B93-801A-9A33E0895A2B}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,219,414,436</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