[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Facades / System.Drawing.Primitives / Facades_System.Drawing.Primitives-net_4_x.csproj
index 1ce6eba7c33d67d643e36afef4272efa6f19f979..521aef546b3d0410c9c755a3c3a9f78486ac24ad 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{1AFDB281-5FB8-48A9-8694-7F515D835862}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,1616,1699</NoWarn>\r
-    <OutputPath>./../../../class/lib/net_4_x/Facades</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)/Facades</OutputPath>\r
     <IntermediateOutputPath>obj-Facades</IntermediateOutputPath>\r
     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>\r
     <NoStdLib>True</NoStdLib>\r