[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Facades / System.Collections.Specialized / Facades_System.Collections.Specialized-net_4_x.csproj
index 488b07377fe6cce1c1f550ff56cebb39ed2571f6..5c8115185283ae5156e5240ed37bf07c0ce78577 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{5A238E60-587C-4C5C-8CA4-0443B1DBF1F6}</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