AoT - Part 3 - Upgrade to Abstractions 11 that are AoT compatible#3699
Merged
AoT - Part 3 - Upgrade to Abstractions 11 that are AoT compatible#3699
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Upgrades the repo to Microsoft.Identity.Abstractions v11 and adjusts related code paths to remain compatible with AoT and newer TFMs (including net10), alongside moving the solution to C# 14.
Changes:
- Bump
MicrosoftIdentityAbstractionsVersionto11.0.0and setLangVersionto14. - Update logging helpers (block-bodied methods + nullable thumbprint logging) and record the internal API delta in
InternalAPI.Unshipped.txt. - Adjust certificate handling for net10 via conditional compilation in
CertificateDescription.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/Microsoft.Identity.Web.Test/CertificatesObserverTests.cs | Tweaks test handler thumbprint comparison to tolerate nulls. |
| src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisition.Logger.cs | Converts logger wrappers to block-bodied methods (AoT-friendly pattern). |
| src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/*/InternalAPI.Unshipped.txt | Records new internal API signature for nullable cert thumbprint logging across TFMs. |
| src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.cs | Passes nullable thumbprint into logging call when selecting certificate credentials. |
| src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.Logger.cs | Updates logger wrappers and makes UsingCertThumbprint accept nullable thumbprints. |
| src/Microsoft.Identity.Web.Certificate/CertificateDescription.cs | Conditionalizes Certificate property implementation for NET10_0_OR_GREATER. |
| Directory.Build.props | Moves to C# 14 and upgrades Abstractions dependency version. |
8 tasks
bgavrilMS
approved these changes
Feb 4, 2026
4gust
approved these changes
Feb 5, 2026
This was referenced Mar 1, 2026
deps: Bump Microsoft.Identity.Web from 4.3.0 to 4.4.0
microsoft/dragon-copilot-extension-samples#173
Merged
This was referenced May 1, 2026
Merged
Closed
Open
Closed
Open
Closed
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.
{PR title}
Summary of the changes (Less than 80 chars)
Description
{Detail}
Fixes #{bug number} (in this specific format)