Repository navigation
Skip EOL frameworks when downgrading installer assets - #8848
Merged
akoeplinger merged 1 commit intoAug 31, 2026
Merged
Conversation
Remove the awk dependency and only downgrade supported .NET versions starting with .NET 8. Co-authored-by: Copilot <[email protected]>
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
Pull request overview
Updates the installer test asset script in the VMR to avoid restore failures caused by downgrading end-of-life framework versions whose older patches may no longer exist on NuGet, and removes a dependency on awk to improve portability across test environments.
Changes:
- Filters downgrade candidates to supported frameworks starting at .NET 8 (skipping EOL major versions).
- Replaces
awk-based version parsing with Bashread/IFSparsing. - Preserves the “at least two servicing releases before downgrading” rule by requiring
patch >= 2.
File summaries
| File | Description |
|---|---|
| test/Microsoft.DotNet.Installer.Tests/assets/downgrade-fx-versions.sh | Restricts downgrade targets to supported framework majors and replaces awk parsing with Bash parsing to avoid restore/tooling issues. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
ViktorHofer
approved these changes
Aug 31, 2026
Member
Author
|
/backport to release/11.0.1xx |
Contributor
|
Started backporting to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
This regressed with #8610, which changed the installer test asset to dynamically process all bundled framework versions.
That included EOL versions. In particular, .NET 6.0 was downgraded from 6.0.36 to 6.0.34, but the 6.0.34 packages have been deleted from nuget.org, causing restore failures. The script also introduced a dependency on
awk, which is not available in every test environment.Solution
awk.