[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / System.Design / System.Design-plaindesign-net_4_x.csproj
index 69aff5d5b047c543e3809132f559df852909ca3f..bd6157c13e0340ad15e0311aaa5ca971f38a722a 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{DCE556E9-EF89-45F3-A51F-83D3C3E0FEF5}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,436,612,618,649,67,672</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_x/plaindesign</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)/plaindesign</OutputPath>\r
     <IntermediateOutputPath>obj-plaindesign</IntermediateOutputPath>\r
     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>\r
     <NoStdLib>True</NoStdLib>\r