Skip to content

Commit 3ad4565

Browse files
committed
Disable shadow copying so all tests pass in VS runner
1 parent de2de6f commit 3ad4565

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
<ItemGroup>
2424
<Compile Include="..\LibGit2Sharp\Core\Platform.cs" Link="TestHelpers\Platform.cs" />
2525
<Compile Remove="desktop\**" Condition="'$(TargetFramework)' != 'net46'" />
26-
</ItemGroup>
27-
28-
<ItemGroup>
2926
<Content Include="Resources\**\*.*" CopyToOutputDirectory="PreserveNewest" />
27+
<None Update="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
3028
</ItemGroup>
3129

3230
<Target Name="CopyTestAppExes" AfterTargets="ResolveProjectReferences">

LibGit2Sharp.Tests/xunit.runner.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://xunit.github.io/schema/current/xunit.runner.schema.json",
3+
"shadowCopy": false
4+
}

0 commit comments

Comments
 (0)