[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Facades / System.IO.UnmanagedMemoryStream / Facades_System.IO.UnmanagedMemoryStream-net_4_x.csproj
index ca6cd3c79274868475805d1e3429ed7bc00905c2..a690e0a6bb630c62f24b5476eca35a16368c7e8c 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{981E765A-9D68-4653-9079-69BFCD97F086}</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