Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Ording <bording@gmail.com>2019-04-21 03:50:32 +0300
committerBrandon Ording <bording@gmail.com>2019-04-21 04:20:52 +0300
commit3ad4565dd79e80f15788ac177ed5b7892eff6385 (patch)
tree403442e82e904a7cc0e4a1cc6bcc46d9600e3eea
parentde2de6f2555d61ae3fae31035944422b047809a8 (diff)
Disable shadow copying so all tests pass in VS runner
-rw-r--r--LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj4
-rw-r--r--LibGit2Sharp.Tests/xunit.runner.json4
2 files changed, 5 insertions, 3 deletions
diff --git a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
index a0703f6f..3503801c 100644
--- a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
+++ b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
@@ -23,10 +23,8 @@
<ItemGroup>
<Compile Include="..\LibGit2Sharp\Core\Platform.cs" Link="TestHelpers\Platform.cs" />
<Compile Remove="desktop\**" Condition="'$(TargetFramework)' != 'net46'" />
- </ItemGroup>
-
- <ItemGroup>
<Content Include="Resources\**\*.*" CopyToOutputDirectory="PreserveNewest" />
+ <None Update="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<Target Name="CopyTestAppExes" AfterTargets="ResolveProjectReferences">
diff --git a/LibGit2Sharp.Tests/xunit.runner.json b/LibGit2Sharp.Tests/xunit.runner.json
new file mode 100644
index 00000000..e54567a3
--- /dev/null
+++ b/LibGit2Sharp.Tests/xunit.runner.json
@@ -0,0 +1,4 @@
+{
+ "$schema": "https://xunit.github.io/schema/current/xunit.runner.schema.json",
+ "shadowCopy": false
+}