Skip to content

Commit 7f96de6

Browse files
committed
CDRIVER-3356: Reduce fragility of Nuget packaging for C# binding
1 parent d246350 commit 7f96de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/cs/MongoDB.Libmongocrypt/MongoDB.Libmongocrypt.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

4-
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
4+
<ItemGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))">
55
<Content Include="$(MSBuildThisFileDirectory)../x64/native/windows/mongocrypt.dll">
66
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
77
<Link>mongocrypt.dll</Link>

0 commit comments

Comments
 (0)