[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Mono.C5 / Mono.C5-net_4_x.csproj
index ef4a5827827bbb610d214d7548cdd49782b1d334..fc68a856d2d4d4f4894e283703d3fb4c2db9aff7 100644 (file)
@@ -9,8 +9,11 @@
     <ProjectGuid>{61B86230-B170-4B03-A8CA-D5AF77858D7E}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,169,219,414,1030,3001,3005,3006</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