Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 169e758

Browse files
Added reference to libgit2sharp
1 parent 6d7750a commit 169e758

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

src/GitTools.Core/FodyWeavers.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Weavers>
3-
<Costura/>
3+
<Costura>
4+
<IncludeAssemblies>
5+
LibGit2Sharp
6+
</IncludeAssemblies>
7+
</Costura>
48
<ModuleInit/>
59
<MethodTimer/>
610
<Catel/>

src/GitTools.Core/GitTools.Core.csproj

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\..\lib\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props" Condition="Exists('..\..\lib\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" />
34
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
45
<PropertyGroup>
56
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -11,7 +12,7 @@
1112
<AssemblyName>GitTools.Core</AssemblyName>
1213
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1314
<FileAlignment>512</FileAlignment>
14-
<NuGetPackageImportStamp>63e8a826</NuGetPackageImportStamp>
15+
<NuGetPackageImportStamp>1f509a61</NuGetPackageImportStamp>
1516
</PropertyGroup>
1617
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1718
<DebugSymbols>true</DebugSymbols>
@@ -45,6 +46,10 @@
4546
<HintPath>..\..\lib\Catel.Fody.2.5.0\lib\portable-net4+sl4+wp7+win8+wpa81+MonoAndroid14+MonoTouch40\Catel.Fody.Attributes.dll</HintPath>
4647
<Private>True</Private>
4748
</Reference>
49+
<Reference Include="LibGit2Sharp, Version=0.21.0.176, Culture=neutral, processorArchitecture=MSIL">
50+
<HintPath>..\..\lib\LibGit2Sharp.0.21.0.176\lib\net40\LibGit2Sharp.dll</HintPath>
51+
<Private>True</Private>
52+
</Reference>
4853
<Reference Include="MethodTimer, Version=1.15.2.0, Culture=neutral, PublicKeyToken=cb1364609f40a1dc, processorArchitecture=MSIL">
4954
<HintPath>..\..\lib\MethodTimer.Fody.1.15.2.0\Lib\portable-net4+sl5+wp8+win8+wpa81+MonoAndroid16+MonoTouch40\MethodTimer.dll</HintPath>
5055
<Private>False</Private>
@@ -68,18 +73,26 @@
6873
<Compile Include="Properties\AssemblyInfo.cs" />
6974
</ItemGroup>
7075
<ItemGroup>
76+
<EmbeddedResource Include="..\..\lib\LibGit2Sharp.0.21.0.176\lib\net40\NativeBinaries\amd64\git2-e0902fb.dll">
77+
<Link>costura64\git2-e0902fb.dll</Link>
78+
</EmbeddedResource>
79+
<EmbeddedResource Include="..\..\lib\LibGit2Sharp.0.21.0.176\lib\net40\NativeBinaries\x86\git2-e0902fb.dll">
80+
<Link>costura32\git2-e0902fb.dll</Link>
81+
</EmbeddedResource>
7182
<Content Include="FodyWeavers.xml" />
7283
</ItemGroup>
7384
<ItemGroup>
7485
<None Include="packages.config" />
7586
</ItemGroup>
87+
<ItemGroup />
7688
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7789
<Import Project="..\..\lib\Fody.1.26.1\build\Fody.targets" Condition="Exists('..\..\lib\Fody.1.26.1\build\Fody.targets')" />
7890
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
7991
<PropertyGroup>
8092
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
8193
</PropertyGroup>
8294
<Error Condition="!Exists('..\..\lib\Fody.1.26.1\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\lib\Fody.1.26.1\build\Fody.targets'))" />
95+
<Error Condition="!Exists('..\..\lib\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\lib\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props'))" />
8396
</Target>
8497
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8598
Other similar extension points exist, see Microsoft.Common.targets.

src/GitTools.Core/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<package id="Catel.Fody" version="2.5.0" targetFramework="net45" developmentDependency="true" />
55
<package id="Costura.Fody" version="1.3.3.0" targetFramework="net45" developmentDependency="true" />
66
<package id="Fody" version="1.26.1" targetFramework="net45" developmentDependency="true" />
7+
<package id="LibGit2Sharp" version="0.21.0.176" targetFramework="net45" />
78
<package id="MethodTimer.Fody" version="1.15.2.0" targetFramework="net45" developmentDependency="true" />
89
<package id="ModuleInit.Fody" version="1.5.6.0" targetFramework="net45" developmentDependency="true" />
910
</packages>

0 commit comments

Comments
 (0)