Skip to content

Commit dd0528b

Browse files
author
Edward Thomson
committed
Update libgit2 natives to 1.0.155
Use the new nuget package layout for .NET Core compatibility with native binaries.
1 parent 3febf8d commit dd0528b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\LibGit2Sharp.NativeBinaries.1.0.137\build\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.137\build\LibGit2Sharp.NativeBinaries.props')" />
3+
<Import Project="..\packages\LibGit2Sharp.NativeBinaries.1.0.155\build\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.155\build\LibGit2Sharp.NativeBinaries.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -383,7 +383,7 @@
383383
<PropertyGroup>
384384
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
385385
</PropertyGroup>
386-
<Error Condition="!Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.137\build\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.1.0.137\build\LibGit2Sharp.NativeBinaries.props'))" />
386+
<Error Condition="!Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.155\build\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.1.0.155\build\LibGit2Sharp.NativeBinaries.props'))" />
387387
</Target>
388388
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
389389
Other similar extension points exist, see Microsoft.Common.targets.
@@ -393,4 +393,4 @@
393393
</Target>
394394
-->
395395
<ItemGroup />
396-
</Project>
396+
</Project>

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="LibGit2Sharp.NativeBinaries" version="1.0.137" targetFramework="net4" allowedVersions="[1.0.137]" />
3+
<package id="LibGit2Sharp.NativeBinaries" version="1.0.155" targetFramework="net4" allowedVersions="[1.0.155]" />
44
</packages>

0 commit comments

Comments
 (0)