[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Facades / System.Net.Requests / Facades_System.Net.Requests-net_4_x.csproj
index df1d534a9d67880e92f3fc09c68214b2addbd7de..b5d7471d13258885e285ea15fcd2002642d53edf 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{538C60BD-0652-4780-AA7C-338C2DD82448}</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