Skip to content

Commit 7f05765

Browse files
committed
Add allowedVersions property to packages.config
This makes the native binaries package dependency be locked to the specific version listed in the file, preventing an accidental upgrade to a any newer incompatible version that might be published. This dependency is then used when the LibGit2Sharp NuGet package is built.
1 parent 95f57ee commit 7f05765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Brandon.Test.NativeBinaries" version="0.0.5" targetFramework="net40" />
3+
<package id="Brandon.Test.NativeBinaries" version="0.0.5" allowedVersions="[0.0.5]" targetFramework="net40" />
44
</packages>

0 commit comments

Comments
 (0)