[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / RabbitMQ.Client / src / client / RabbitMQ.Client-net_4_x.csproj
index 6f54fbacd7983fd5fde5fb919a9296df21a5dde1..6058fc91d76ddf5ffa1c4c321f2ae3a79f306a62 100644 (file)
@@ -9,8 +9,11 @@
     <ProjectGuid>{8A378E82-8FA2-4DC9-A2F7-CD5CACC3F8F6}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,618</NoWarn>\r
-    <OutputPath>./../../../../class/lib/net_4_x</OutputPath>\r
-    <IntermediateOutputPath>obj-net_4_x</IntermediateOutputPath>\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)</OutputPath>\r
+    <IntermediateOutputPath>obj-net_4_x-$(HostPlatform)</IntermediateOutputPath>\r
     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>\r
     <NoStdLib>True</NoStdLib>\r
     \r