[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / System.Windows / System.Windows-net_4_x.csproj
index d3b04065e71ffcbeaceb87a1f22ff1199af8b0a0..331044b54f2f751229ea4bf346ac6f8fdae86f4f 100644 (file)
@@ -9,8 +9,11 @@
     <ProjectGuid>{3F6EB6D4-602E-43C2-A3E1-4AD98E8C86EE}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</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