Repository navigation
Obsolete Bootstrap 4 Identity UI support - #68477
Conversation
Co-authored-by: Youssef1313 <[email protected]>
Youssef1313
left a comment
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 <[email protected]>
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 <[email protected]>
|
/ba-g Failure is unrelated |
|
/backport to release/11.0-rc1 |
|
Started backporting to |
* Initial plan * Obsolete Bootstrap 4 Identity UI support * Allow Bootstrap 4 warning suppression * Fix testasset * Address comment --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Youssef1313 <[email protected]> Co-authored-by: Youssef Fahmy <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Obsolete Bootstrap 4 Identity UI support
Warn when the default Identity UI selects obsolete Bootstrap 4.
Description
Change
IdentityUIFrameworkVersionisBootstrap4.