GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Upgrade build to .NET 10 and thus raise minimum PS7 version to 7.6 by Copilot · Pull Request #2266 · PowerShell/PSScriptAnalyzer

Conversation

Copilot AI commented Oct 27, 2026 •
edited by bergmeister
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

.NET 8 approaches end of support in November 2026. Move the build and development environment to .NET 10 while preserving the existing runtime targets. Similarly the PowerShell version 7.4 and 7.5 (that uses .NET 8 and 9, respectively) go out of support so increasing minimum PowerShell version support to 7.6. It had to be 7.6.6 and not 7.6.9 because CI runners still use 7.6.6, this can be updated later closer to release time.

  • SDK pin: Set global.json to .NET SDK 10.0.401, retaining feature-band roll-forward.
    {
      "sdk": {
        "version": "10.0.401",
        "rollForward": "latestFeature"
      }
    }
  • Developer environment: Update the devcontainer image and label, and refresh the README SDK and Visual Studio requirements.
  • Fixes Update the build to use .NET 10 #2195

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Initial plan
58f1700
Copilot AI assigned Copilot and Christoph Bergmeister (bergmeister) Oct 27, 2026
Copilot started work on behalf of Christoph Bergmeister (bergmeister) October 27, 2026 22:31
View session
Copilot AI linked an issue Oct 27, 2026 that may be closed by this pull request
Update the build to use .NET 10 #2195
Open
@bergmeister
Update build to .NET 10 SDK
22bd888
Co-authored-by: bergmeister <[email protected]>
Copilot AI changed the title [WIP] Update the build to use .NET 10 Upgrade the build to .NET 10 Oct 27, 2026
Copilot finished work on behalf of Christoph Bergmeister (bergmeister) October 27, 2026 22:35
Copilot AI requested a review from Christoph Bergmeister (bergmeister) October 27, 2026 22:35
@bergmeister
Christoph Bergmeister (bergmeister) requested a balanced review from Copilot October 28, 2026 07:18
Copilot started reviewing on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 07:18
View session
bergmeister
Christoph Bergmeister (bergmeister) reviewed Oct 28, 2026
View reviewed changes
Comment thread README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bergmeister
Update README.md
4ac6984
Copilot AI reviewed Oct 28, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the .NET 10 build and development environment update.

No open issues 🎉

What changed in this PR

Updates the build and development environment to .NET 10 ahead of .NET 8’s end of support, addressing #2195 while leaving runtime targets unchanged.

Changes:

  • Pins the SDK to 10.0.401, retaining latestFeature roll-forward.
  • Updates the devcontainer image and display name to .NET 10.
  • Refreshes README requirements to .NET 10 and Visual Studio 2026.
File Description
README.md Updates SDK and recommended Visual Studio requirements.
global.json Pins the build SDK to 10.0.401.
.devcontainer/​Dockerfile Switches the container base image to .NET 10.
.devcontainer/​devcontainer.json Updates the container display name to .NET 10.

Review effort: Balanced

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot started work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 07:23
View session
@bergmeister
Allow NuGet targeting pack restore in CI
77ac9a2
Co-authored-by: bergmeister <[email protected]>
Copilot finished work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 07:27
Copilot AI requested a review from Christoph Bergmeister (bergmeister) October 28, 2026 07:27
@bergmeister
Christoph Bergmeister (bergmeister) requested a balanced review from Copilot October 28, 2026 09:48
Copilot started reviewing on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 09:48
View session
Copilot AI reviewed Oct 28, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🟡 Changes recommended

Windows CI is failing because Microsoft.WindowsDesktop.App.Ref lacks an exact nuget.org mapping, causing version 8.0.33 to restore from the Azure feed and fail with HTTP 401.

1 open issue
  • High severity Map Microsoft.WindowsDesktop.App.Ref 8.0.33 to nuget.org · New

Review effort: Balanced

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread NuGet.Config Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bergmeister
Add Microsoft.WindowsDesktop.App.Ref package source
12eec6a
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@bergmeister
Christoph Bergmeister (bergmeister) requested a balanced review from Copilot October 28, 2026 11:34
Copilot started reviewing on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 11:34
View session
Copilot AI reviewed Oct 28, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the .NET 10 build and development environment update.

No open issues 🎉

1 resolved since last review
  • High severity Map Microsoft.WindowsDesktop.App.Ref 8.0.33 to nuget.org

Review effort: Balanced

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bergmeister
Christoph Bergmeister (bergmeister) marked this pull request as ready for review October 28, 2026 11:44
@bergmeister
Christoph Bergmeister (bergmeister) requested a review from a team as a code owner October 28, 2026 11:44
@bergmeister

Christoph Bergmeister (bergmeister) commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Copilot upgrading .NET from 8 to 10 also means upgrading the minimum supported version of PowerShell 7 version from 7.4 to 6.6 as we have tests for that in our manifest script (.psdm1 file). Please update it and other places that referenced PowerShell 7.4

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bergmeister
Christoph Bergmeister (bergmeister) marked this pull request as draft October 28, 2026 11:49
Copilot started work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 11:49
View session
@bergmeister
Raise minimum PowerShell Core version to 7.6.6
b0be65a
Co-authored-by: bergmeister <[email protected]>

Copilot AI commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Copilot upgrading .NET from 8 to 10 also means upgrading the minimum supported version of PowerShell 7 version from 7.4 to 6.6 as we have tests for that in our manifest script (.psdm1 file). Please u...

Updated the module loader minimum to PowerShell 7.6.6 in b0be65a. I kept the SMA 7.4.14 reference because SMA 7.6.6 targets only net10, while this project retains its net8 target; the net8 Engine build and focused tests pass.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot finished work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 11:54
@bergmeister

Christoph Bergmeister (bergmeister) commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Copilot why not powershell 7.6.9? it's latest powershell version and by the time psscriptanalyzer releases it would've been out for long enough as guidance is to update powershell within a month after release of patch.

alos, I think we should update SMA reference and update everyting that targets net8 to net10 because net10 is implicitly the minomum .NET version due to the minimumm PowerShell 7 upgrade to 7.6

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot started work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 12:24
View session
@bergmeister
Retarget PowerShell 7 build to .NET 10
4b51b00
Co-authored-by: bergmeister <[email protected]>

Copilot AI commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Copilot why not powershell 7.6.9? it's latest powershell version and by the time psscriptanalyzer releases it would've been out for long enough as guidance is to update powershell within a month afte...

Updated to PowerShell/SMA 7.6.9 and retargeted the Engine and Rules projects plus the PowerShell 7 build selection to .NET 10.0, while retaining the net462 and netstandard2.0 targets. Changes are in 4b51b00; the full solution builds in Debug and Release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot finished work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 12:27
Copilot started work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 13:14
View session
@bergmeister
Route SMA restore through nuget.org
15ec005
Co-authored-by: bergmeister <[email protected]>
Copilot finished work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 13:17
@bergmeister

Christoph Bergmeister (bergmeister) commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Copilot it seems CI is still using PowerShell 7.6.6 so please lower minimum version from 7.6.9 to 7.6.6

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot started work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 13:23
View session
@bergmeister
Restore PowerShell 7.6.6 minimum
97a151e
Co-authored-by: bergmeister <[email protected]>

Copilot AI commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Copilot it seems CI is still using PowerShell 7.6.6 so please lower minimum version from 7.6.9 to 7.6.6

Lowered the loader minimum to PowerShell 7.6.6 in commit 97a151e and verified the version gate passes on 7.6.6.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot finished work on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 13:26
@bergmeister
Christoph Bergmeister (bergmeister) requested a balanced review from Copilot October 28, 2026 13:28
Copilot started reviewing on behalf of Christoph Bergmeister (bergmeister) October 28, 2026 13:29
View session
Copilot AI reviewed Oct 28, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are blocking approval of the .NET 10 migration.

No open issues 🎉

Review effort: Balanced

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bergmeister
Christoph Bergmeister (bergmeister) marked this pull request as ready for review October 28, 2026 13:32
@bergmeister Christoph Bergmeister (bergmeister) changed the title Upgrade the build to .NET 10 Upgrade build to .NET 10 and thus raise minimum PS7 version to 7.6 Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@bergmeister Christoph Bergmeister (bergmeister) Awaiting requested review from bergmeister bergmeister is a code owner

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@bergmeister Christoph Bergmeister (bergmeister)

Copilot code review Copilot

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Update the build to use .NET 10

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@bergmeister
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.