We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In build/DlibDotNet.Native.props, $(OS) does not work on MacOSX. dotnet/msbuild#538
It does not occur errror. Because *.so and *.dylib will be copied porperly. But *.so files are extra and it consumes disk space.
On MacOSX.
The text was updated successfully, but these errors were encountered:
Consider using $([MSBuild]::IsOsPlatform("osx"))) put into Condition= attribute, like
$([MSBuild]::IsOsPlatform("osx")))
Condition=
<PropertyGroup> <OsEnvironment Condition="$([MSBuild]::IsOSPlatform('windows'))">windows</OsEnvironment> <OsEnvironment Condition="$([MSBuild]::IsOSPlatform('linux'))">linux</OsEnvironment> <OsEnvironment Condition="$([MSBuild]::IsOSPlatform('osx'))">osx</OsEnvironment> <OsUnixLike>false</OsUnixLike> <OsUnixLike Condition="$([MSBuild]::IsOsUnixLike())">true</OsUnixLike>
taken from Directory.Build.props in Microsoft/msbuild repo
Also, here is much longer version, found around
'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform( $([System.Runtime.InteropServices.OSPlatform]::OSX)) )'
Sorry, something went wrong.
Close by e096e96
takuya-takeuchi
No branches or pull requests
Summary of your issue
In build/DlibDotNet.Native.props, $(OS) does not work on MacOSX.
dotnet/msbuild#538
It does not occur errror.
Because *.so and *.dylib will be copied porperly.
But *.so files are extra and it consumes disk space.
Environment
On MacOSX.
The text was updated successfully, but these errors were encountered: