Skip to content

Commit 36d0f1a

Browse files
committed
Try using xml logger
1 parent 91d17f6 commit 36d0f1a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

eng/targets/Helix.targets

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

33
<!-- Item group has to be defined here becasue Helix.props is evaluated before xunit.runner.console.props -->
4-
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
5-
<HelixContent Condition="'$(XunitConsole472Path)' != ''" Include="$([System.IO.Path]::GetDirectoryName('$(XunitConsole472Path)'))/**/*" />
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" />
67
</ItemGroup>
78

89
<ItemGroup>
@@ -35,6 +36,10 @@ Usage: dotnet msbuild /t:Helix src/MyTestProject.csproj
3536
</MSBuild>
3637
</Target>
3738

39+
<ItemGroup>
40+
<PackageReference Include="XunitXml.TestLogger" Version="2.1.26" />
41+
</ItemGroup>
42+
3843
<Target Name="_SetCreateHelixPayload">
3944
<PropertyGroup>
4045
<_SelectedPlatforms>@(HelixProjectPlatform)</_SelectedPlatforms>

0 commit comments

Comments
 (0)