Skip to content

Update .NET SDK version and bump Azure.Identity versions#1987

Merged
anamnavi merged 10 commits into
masterfrom
update-dotnet-8.0.27
May 15, 2026
Merged

Update .NET SDK version and bump Azure.Identity versions#1987
anamnavi merged 10 commits into
masterfrom
update-dotnet-8.0.27

Conversation

@anamnavi
Copy link
Copy Markdown
Member

@anamnavi anamnavi commented May 12, 2026

PR Summary

This pull request updates dependencies and makes minor adjustments to assembly handling and credential configuration. The most significant changes include upgrading core package versions, adding new package references, and updating assembly initialization logic.

Dependency updates:

  • Updated the .NET SDK version in global.json from 8.0.419 to 8.0.421, ensuring builds use the latest patch version.
  • Upgraded Azure.Identity package from version 1.14.2 to 1.17.1 in Microsoft.PowerShell.PSResourceGet.csproj for improved authentication support.
  • Added System.Buffers package reference (version 4.6.1) to Microsoft.PowerShell.PSResourceGet.csproj to resolve dependency requirements.

Assembly handling improvements:

  • Added 'System.Buffers', 'System.ClientModel', 'System.Numerics.Vectors', and 'System.Threading.Tasks.Extensions' to the NetFrameworkLoadFromPath set in ModuleInitAndCleanup.cs to ensure proper assembly loading.
  • Included 'System.ClientModel' and 'System.Buffers' in the list of dependencies in doBuild.ps1 for build consistency.

Credential configuration:

  • Removed the explicit exclusion of SharedTokenCacheCredential in GetAzAccessToken to potentially allow its use on supported platforms.

PR Context

PR Checklist

@adityapatwardhan adityapatwardhan changed the title Update .NET SDK version and nump NuGet package and Azure.Identity versions Update .NET SDK version and bump NuGet package and Azure.Identity versions May 12, 2026
Copy link
Copy Markdown
Member

@adityapatwardhan adityapatwardhan left a comment

Choose a reason for hiding this comment

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

Check if bumping NuGet works, AFAIK there were issues with it and hence we kept on the 6.9.x version

@anamnavi anamnavi changed the title Update .NET SDK version and bump NuGet package and Azure.Identity versions Update .NET SDK version and bump Azure.Identity versions May 15, 2026
@anamnavi anamnavi merged commit 718c753 into master May 15, 2026
12 checks passed
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.

2 participants