Skip to content

Commit 093593b

Browse files
committed
Turn off xunit shadow copy in CI build
Turning this off reveals tha there appears to be a linux-specific problem with DLLImport and shadow copies. CanProbeForNativeBinariesFromAShadowCopiedAssembly() fails on linux but not osx.
1 parent d3376cb commit 093593b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CI/build.msbuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</Target>
3838

3939
<Target Name="Test" DependsOnTargets="Build">
40-
<xunit Assembly="$(TestBuildDir)/LibGit2Sharp.Tests.dll" Xml="$(DeployFolder)/Test-result.xml" />
40+
<xunit Assembly="$(TestBuildDir)/LibGit2Sharp.Tests.dll" ShadowCopy="false" Xml="$(DeployFolder)/Test-result.xml" />
4141
</Target>
4242

4343
<Target Name="Deploy" DependsOnTargets="Test">

0 commit comments

Comments
 (0)