[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Facades / Microsoft.Win32.Registry / Facades_Microsoft.Win32.Registry-net_4_x.csproj
index 2a6ca08d6bd7d9c6f7af73e22e917080eb6bb75f..2e241c6428b4dd09b40d70edd3d64770688aaa76 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{160B5B14-7A25-458E-B83F-35632C832866}</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