Skip to content

Commit e65b538

Browse files
committed
Update Helix.targets
1 parent 1c0c33f commit e65b538

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

eng/targets/Helix.targets

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
<Project>
22

33
<!-- Item group has to be defined here becasue Helix.props is evaluated before xunit.runner.console.props -->
4-
<ItemGroup>
5-
<HelixContent Include="$(OutputPath)/Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestAdapter.dll" />
6-
<HelixContent Include="$(OutputPath)/Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestLogger.dll" />
7-
</ItemGroup>
8-
9-
<ItemGroup>
4+
<ItemGroup Condition="$(BuildHelixPayload)">
105
<Content Include="@(HelixContent)" />
116
</ItemGroup>
12-
7+
138
<!--
149
1510
This target is meant to be used when invoking helix tests on one project at a time.
@@ -65,6 +60,11 @@ Usage: dotnet msbuild /t:Helix src/MyTestProject.csproj
6560

6661
<Target Name="_CreateHelixWorkItem" Condition="$(BuildHelixPayload)">
6762

63+
<ItemGroup>
64+
<HelixContent Include="$(OutputPath)/Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestAdapter.dll" />
65+
<HelixContent Include="$(OutputPath)/Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestLogger.dll" />
66+
</ItemGroup>
67+
6868
<PropertyGroup>
6969
<!-- Extract the effective queue name from this format "(name)host@dockerimage". This is sometimes used in test code to skip tests. -->
7070
<_HelixFriendlyNameTargetQueue>$(HelixTargetQueue)</_HelixFriendlyNameTargetQueue>

0 commit comments

Comments
 (0)