From caded6e4394933ca31ed2c587ba8fc0abf3ae32a Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Sat, 21 Feb 2015 13:27:14 -0500 Subject: [PATCH] Make NuGet package copy native binaries on windows only The props file added to the NuGet package in #821 makes sure the Windows native binaries are copied to the correct location. However, as pointed out in #835, this now happens even when the package is installed on a non-Windows platform. This can be prevented by adding a condition to the imported ItemGroup that makes it be ignored when running on a non-Windows platform. Closes #835 --- nuget.package/build/LibGit2Sharp.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuget.package/build/LibGit2Sharp.props b/nuget.package/build/LibGit2Sharp.props index 8ffc28d6e..f9460e24a 100644 --- a/nuget.package/build/LibGit2Sharp.props +++ b/nuget.package/build/LibGit2Sharp.props @@ -1,6 +1,6 @@  - + NativeBinaries\amd64\git2-e0902fb.dll PreserveNewest