Skip to content

Use .NET 8 version of Microsoft.Extensions.DependencyModel for PowerShell#5288

Merged
RyanThomasForge merged 1 commit intomasterfrom
fix-powershell-module
Feb 5, 2026
Merged

Use .NET 8 version of Microsoft.Extensions.DependencyModel for PowerShell#5288
RyanThomasForge merged 1 commit intomasterfrom
fix-powershell-module

Conversation

@bording
Copy link
Member

@bording bording commented Feb 5, 2026

Since PowerShell 7.4 is based on .NET 8, we need to use the .NET 8 version of Microsoft.Extensions.DependencyModel in the PowerShell module.

However, just downgrading the version referenced in Directory.Packages.props isn't an option because there are other projects where downgrading breaks some transitive references.

To solve both of these constraints, I've introduced a VersionOverride in the PowerShell module project to allow it to use its own separate version of the package.

Fixes #5292

@RyanThomasForge RyanThomasForge merged commit 9adfeef into master Feb 5, 2026
32 checks passed
@RyanThomasForge RyanThomasForge deleted the fix-powershell-module branch February 5, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PowerShell module commands do not work

2 participants