diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2017-05-15 15:23:05 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-05-15 15:23:05 +0300 |
commit | 79cc1aeccd086b2d9006d6e549426d4ac1ceb80e (patch) | |
tree | 4c0378fb264859d2ae106c33b938901eae698100 /mcs/class/System.Net.Http.WebRequest | |
parent | e314d56b213d8aa161eb114bb007974b409f93fc (diff) |
[msvc] Update csproj files (#4846)
Diffstat (limited to 'mcs/class/System.Net.Http.WebRequest')
-rw-r--r-- | mcs/class/System.Net.Http.WebRequest/System.Net.Http.WebRequest-net_4_x.csproj | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mcs/class/System.Net.Http.WebRequest/System.Net.Http.WebRequest-net_4_x.csproj b/mcs/class/System.Net.Http.WebRequest/System.Net.Http.WebRequest-net_4_x.csproj index 9d65fd28560..0eca3bb9bbb 100644 --- a/mcs/class/System.Net.Http.WebRequest/System.Net.Http.WebRequest-net_4_x.csproj +++ b/mcs/class/System.Net.Http.WebRequest/System.Net.Http.WebRequest-net_4_x.csproj @@ -9,8 +9,11 @@ <ProjectGuid>{A98B5CC3-EAFC-4EFD-ABC6-2F2A65BE98F5}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
- <OutputPath>./../../class/lib/net_4_x</OutputPath>
- <IntermediateOutputPath>obj-net_4_x</IntermediateOutputPath>
+ <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Windows_NT'">win32</HostPlatform>
+ <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix' and $([System.IO.File]::Exists('/usr/lib/libc.dylib'))">darwin</HostPlatform>
+ <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix'">linux</HostPlatform>
+ <OutputPath>./../../class/lib/net_4_x-$(HostPlatform)</OutputPath>
+ <IntermediateOutputPath>obj-net_4_x-$(HostPlatform)</IntermediateOutputPath>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<NoStdLib>True</NoStdLib>
|