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

Commit 20fa72e

Browse files
author
Rahul Kumar
committed
Merge pull request #3774 from rahku/Helix
Add xunit console runner dependency
2 parents b49ce37 + 5f38217 commit 20fa72e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/helix.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@
5151

5252
<ToReplace Include="$(PackageTestRuntimeFolder)\*" />
5353

54+
<!-- In helix xunit tests are run using xunit.console.exe instead of msbuild xunitrunner.
55+
This dependency should ideally be added in some project.json. But in the package the assemblies are present in tools folder.
56+
Assemblies in tools folder are not resolved during restore. Therefore forcing addition direclty. -->
5457
<XunitConsoleExe Include="$(PackagesDir)xunit.runner.console\**\xunit.console.exe" />
58+
<XunitConsoleExe Include="$(PackagesDir)xunit.runner.console\**\xunit.runner.utility.desktop.dll" />
5559

5660
<ToRemove Include="@(_TestCopyLocalByFileNameWithoutDuplicates)" Condition="'%(_TestCopyLocalByFileNameWithoutDuplicates.Filename)' == 'xunit.performance.core'"/>
5761
<ToRemove Include="@(_TestCopyLocalByFileNameWithoutDuplicates)" Condition="'%(_TestCopyLocalByFileNameWithoutDuplicates.Filename)' == 'xunit.core'"/>

0 commit comments

Comments
 (0)