Repository navigation
Remove obsolete .NET 5.0 references from bundle tests - #121821
Conversation
Co-authored-by: elinor-fung <[email protected]>
|
@copilot also remove passing |
…reCache test Co-authored-by: elinor-fung <[email protected]>
Done. Removed |
There was a problem hiding this comment.
Pull Request Overview
This PR removes obsolete .NET 5.0 references from bundle tests, as .NET 5.0 has been out of support for several years. The changes eliminate version-specific test methods and an unnecessary version parameter that explicitly targeted 5.0.
- Removed two test methods (
SelfContained_Targeting50andFrameworkDependent_Targeting50) that explicitly targeted .NET 5.0 - Removed the
new Version(5, 0)parameter from a rebundle operation in signing tests - Existing tests provide equivalent coverage without targeting obsolete versions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs | Removed two test methods that explicitly targeted .NET 5.0, as the existing SelfContained and FrameworkDependent tests provide equivalent coverage |
| src/installer/tests/Microsoft.NET.HostModel.Tests/MachObjectSigning/SigningTests.cs | Removed obsolete version 5.0 parameter from rebundle call, allowing it to use the default/current version |
|
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov |
.NET 5.0 has been out of support for years. Several test methods in the bundle tests explicitly targeted version 5.0 and should be removed.
cc @dotnet/appmodel @AaronRobinsonMSFT
Changes
SelfContained_Targeting50test method fromBundledAppWithSubDirsFrameworkDependent_Targeting50test method fromBundledAppWithSubDirsnew Version(5, 0)parameter fromSigningTests.OverwritingExistingBundleClearsMacOsSignatureCachewhen rebundling the appThe remaining tests provide equivalent coverage without version-specific targeting to obsolete versions.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.