[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / System.Data.DataSetExtensions / System.Data.DataSetExtensions-net_4_x.csproj
index 1943a1f69ac2c4f86e60b85999fb26ad2d5be173..7b365f29f24acc20991af351b103eb1f84d9712a 100644 (file)
@@ -9,8 +9,11 @@
     <ProjectGuid>{64D286EF-32EA-4494-9DD6-36609597A11A}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,436</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