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

Commit b55f004

Browse files
committed
Add native libgit2 dependencies to unit test proj
1 parent ccb28b0 commit b55f004

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

test/GitHub.App.UnitTests/GitHub.App.UnitTests.csproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
66
<PlatformTarget>x86</PlatformTarget>
77
</PropertyGroup>
8+
<ItemGroup>
9+
<None Remove="lib\win32\x86\git2-a904fc6.dll" />
10+
<None Remove="lib\win32\x86\git2-a904fc6.pdb" />
11+
</ItemGroup>
812

913
<ItemGroup>
1014
<Reference Include="System.ComponentModel.Composition" />
@@ -25,6 +29,15 @@
2529
<Compile Include="..\Helpers\TestImageCache.cs" />
2630
<Compile Include="..\Helpers\TestSharedCache.cs" />
2731
</ItemGroup>
32+
33+
<ItemGroup>
34+
<Content Include="lib\win32\x86\git2-a904fc6.dll">
35+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
36+
</Content>
37+
<Content Include="lib\win32\x86\git2-a904fc6.pdb">
38+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
39+
</Content>
40+
</ItemGroup>
2841

2942
<ItemGroup>
3043
<ProjectReference Include="..\..\src\GitHub.App\GitHub.App.csproj" />

test/GitHub.Exports.UnitTests/GitHub.Exports.UnitTests.csproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,25 @@
55
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
66
<PlatformTarget>x86</PlatformTarget>
77
</PropertyGroup>
8+
<ItemGroup>
9+
<None Remove="lib\win32\x86\git2-a904fc6.dll" />
10+
<None Remove="lib\win32\x86\git2-a904fc6.pdb" />
11+
</ItemGroup>
812

913
<ItemGroup>
1014
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
1115
<Compile Include="..\Helpers\TestBaseClass.cs" />
1216
</ItemGroup>
1317

18+
<ItemGroup>
19+
<Content Include="lib\win32\x86\git2-a904fc6.dll">
20+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
21+
</Content>
22+
<Content Include="lib\win32\x86\git2-a904fc6.pdb">
23+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
24+
</Content>
25+
</ItemGroup>
26+
1427
<ItemGroup>
1528
<ProjectReference Include="..\..\src\GitHub.Exports.Reactive\GitHub.Exports.Reactive.csproj" />
1629
<ProjectReference Include="..\..\src\GitHub.Exports\GitHub.Exports.csproj" />

test/GitHub.InlineReviews.UnitTests/GitHub.InlineReviews.UnitTests.csproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
66
<PlatformTarget>x86</PlatformTarget>
77
</PropertyGroup>
8+
<ItemGroup>
9+
<None Remove="lib\win32\x86\git2-a904fc6.dll" />
10+
<None Remove="lib\win32\x86\git2-a904fc6.pdb" />
11+
</ItemGroup>
812

913
<ItemGroup>
1014
<Compile Update="Properties\Resources.Designer.cs">
@@ -24,6 +28,15 @@
2428
<Compile Include="..\Helpers\ReactiveTestHelper.cs" Link="ReactiveTestHelper.cs" />
2529
<Compile Include="..\Helpers\SplatModeDetectorSetUp.cs" />
2630
</ItemGroup>
31+
32+
<ItemGroup>
33+
<Content Include="lib\win32\x86\git2-a904fc6.dll">
34+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
35+
</Content>
36+
<Content Include="lib\win32\x86\git2-a904fc6.pdb">
37+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
38+
</Content>
39+
</ItemGroup>
2740

2841
<ItemGroup>
2942
<ProjectReference Include="..\..\submodules\reactiveui\src\ReactiveUI.Testing\ReactiveUI.Testing.csproj" />

0 commit comments

Comments
 (0)