[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Mono.Btls.Interface / Mono.Btls.Interface-net_4_x.csproj
index 8c2860172ff87ddb427cf2b11a2416572b453ed4..8819cc76d6ad9269638e6b3f1265c03dce8ebd52 100644 (file)
@@ -9,8 +9,11 @@
     <ProjectGuid>{BF32D586-8FBB-4A2A-A734-AA17CDAB283F}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,1030</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