Obsolete Bootstrap 4 Identity UI support - #68477
Open
Youssef1313 with Copilot wants to merge 5 commits into
Open
Obsolete Bootstrap 4 Identity UI support#68477Youssef1313 with Copilot wants to merge 5 commits into
Youssef1313 with Copilot wants to merge 5 commits into
Conversation
Co-authored-by: Youssef1313 <31348972+Youssef1313@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Obsolete Bootstrap 4 support in Identity UI package
Obsolete Bootstrap 4 Identity UI support
Aug 13, 2026
Youssef1313
reviewed
Aug 13, 2026
Youssef1313
left a comment
Member
There was a problem hiding this comment.
@copilot Create a property to disable this warning, and use that property to disable the warning in IdentitySample.DefaultUI.csproj
Co-authored-by: Youssef1313 <31348972+Youssef1313@users.noreply.github.com>
Contributor
Author
3 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a build-time MSBuild warning when a consuming project selects the Bootstrap 4 Identity UI framework version, signaling that Bootstrap 4 support is obsolete and will be removed in a future release, while keeping Bootstrap 5 as the default.
Changes:
- Introduces an MSBuild target that emits a warning when
IdentityUIFrameworkVersionresolves toBootstrap4(with an opt-out property). - Suppresses the new warning in the Identity Default UI test asset project that intentionally uses Bootstrap 4.
- Suppresses the new warning in the Identity Default UI sample project that intentionally uses Bootstrap 4.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Identity/UI/src/StaticWebAssets.Groups.targets | Adds an MSBuild warning target when Bootstrap 4 is selected for Identity UI. |
| src/Identity/testassets/Identity.DefaultUI.WebSite/Identity.DefaultUI.WebSite.csproj | Sets SuppressBootstrap4IdentityUIWarning to keep test asset builds warning-free while using Bootstrap 4. |
| src/Identity/samples/IdentitySample.DefaultUI/IdentitySample.DefaultUI.csproj | Sets SuppressBootstrap4IdentityUIWarning to keep the sample build warning-free while using Bootstrap 4. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
Obsolete Bootstrap 4 Identity UI support
Warn when the default Identity UI selects obsolete Bootstrap 4.
Description
Change
IdentityUIFrameworkVersionisBootstrap4.