This is an automated email from the ASF dual-hosted git repository. suyanhanx pushed a commit to branch set-dotnet-ci in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 81d2e542f3a1b7bf7c9216023df6aa05ab602183 Author: suyanhanx <[email protected]> AuthorDate: Sun Jan 28 17:59:22 2024 +0800 chore(bindings/dotnet): build os detect Signed-off-by: suyanhanx <[email protected]> --- bindings/dotnet/DotOpenDAL/DotOpenDAL.csproj | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bindings/dotnet/DotOpenDAL/DotOpenDAL.csproj b/bindings/dotnet/DotOpenDAL/DotOpenDAL.csproj index a7a7ac99fa..76ca27186a 100644 --- a/bindings/dotnet/DotOpenDAL/DotOpenDAL.csproj +++ b/bindings/dotnet/DotOpenDAL/DotOpenDAL.csproj @@ -17,10 +17,20 @@ <Nullable>enable</Nullable> </PropertyGroup> - <ItemGroup> + <ItemGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier.StartsWith('osx'))"> + <None Include="../target/debug/libopendal_dotnet.dylib"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + </ItemGroup> + <ItemGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier.StartsWith('linux'))"> <None Include="../target/debug/libopendal_dotnet.so"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> </ItemGroup> + <ItemGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier.StartsWith('linux'))"> + <None Include="../target/debug/libopendal_dotnet.dll"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + </ItemGroup> </Project>
