[msvc] Update csproj files (#4846)
[mono.git] / mcs / class / Facades / System.Security.Cryptography.Algorithms / Facades_System.Security.Cryptography.Algorithms-net_4_x.csproj
index f833e15be8c0dbbf6757c6866b02bf40d1f2833b..1e9fe3afde347b828f1b606ecf44ed51892fae10 100644 (file)
@@ -9,7 +9,10 @@
     <ProjectGuid>{B044DB11-DC90-4C35-B766-F2D24D7C3009}</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