[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Facades / System.Diagnostics.TraceEvent / Facades_System.Diagnostics.TraceEvent-net_4_x.csproj
index eedd8d3f1b5e9975c4a9ca2160d599ac17e5dbf6..568df64c2216338aa7791093ce2a8f0052e6f637 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{6460F8E8-775E-46B6-99E5-B48390591515}</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