Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion GitHubActionsTestLogger/GitHubActionsTestLogger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@

<ItemGroup>
<PackageReference Include="CSharpier.MsBuild" PrivateAssets="all" />
<PackageReference Include="Microsoft.Testing.Platform" PrivateAssets="all" />
<!-- Pinned to the lowest version in the major to avoid CS1705 errors in consuming projects
that may reference an older version of Microsoft.Testing.Platform. -->
<PackageReference
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment explaining the override @copilot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment in f3bc80c.

Include="Microsoft.Testing.Platform"
VersionOverride="2.0.0"
PrivateAssets="all"
/>
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" PrivateAssets="all" />
<PackageReference Include="PolyShim" PrivateAssets="all" />
<PackageReference Include="RazorBlade" ExcludeAssets="compile;runtime" PrivateAssets="all" />
Expand Down
2 changes: 1 addition & 1 deletion GitHubActionsTestLogger/MtpIntegration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void AddGitHubActionsReporting(TextWriter commandWriter, TextWriter summa
);

testApplicationBuilder.TestHost.AddDataConsumer(compositeExtension);
testApplicationBuilder.TestHost.AddTestSessionLifetimeHandler(compositeExtension);
testApplicationBuilder.TestHost.AddTestSessionLifetimeHandle(compositeExtension);

testApplicationBuilder.CommandLine.AddProvider(() => new MtpLoggerOptionsProvider());
}
Expand Down
Loading