Skip to content

Commit 8fb0c77

Browse files
committed
Add extension to filename check in targets file
Doesn't hurt to add it!
1 parent c0a3450 commit 8fb0c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/NativeDllName.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Target Name="GenerateNativeDllNameCs"
1515
Inputs="@(EmbeddedResource)"
1616
Outputs="$(NativeDllNamePath)">
17-
<GenerateNativeDllNameTask InputHashFile="@(EmbeddedResource)" Condition=" '%(Filename)' == 'libgit2_hash' " OutputFile="$(NativeDllNamePath)" />
17+
<GenerateNativeDllNameTask InputHashFile="@(EmbeddedResource)" Condition=" '%(Filename)%(Extension)' == 'libgit2_hash.txt' " OutputFile="$(NativeDllNamePath)" />
1818
</Target>
1919

2020
<Target Name="CleanNativeDllNameCs">

0 commit comments

Comments
 (0)