Skip to content

Conversation

@Vignesh-SF3580
Copy link
Contributor

@Vignesh-SF3580 Vignesh-SF3580 commented Apr 28, 2025

Issue Detail

A warning is displayed when opening the Styles.xaml file in a MAUI sample.

Warning:
image

Root Cause

The Frame control is marked as obsolete in .NET 9, which causes a warning for frame-related styles.

Description of Change

Removed the frame styles from Styles.xaml to eliminate the warning.

Issues Fixed

Fixes #29218

@dotnet-policy-service
Copy link
Contributor

Hey there @@Vignesh-SF3580! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service bot added community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration labels Apr 28, 2025
@Vignesh-SF3580 Vignesh-SF3580 changed the title Warning appears when open Styles.xaml file Removed Frame styles from the default project template Apr 28, 2025
@Vignesh-SF3580 Vignesh-SF3580 marked this pull request as ready for review April 28, 2025 09:34
Copilot AI review requested due to automatic review settings April 28, 2025 09:34
@Vignesh-SF3580 Vignesh-SF3580 requested a review from a team as a code owner April 28, 2025 09:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

jsuarezruiz
jsuarezruiz previously approved these changes Apr 28, 2025
Copy link
Member

@PureWeen PureWeen left a comment

Choose a reason for hiding this comment

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

If we make this change, we should isolate it down to .NET 10

I'm also not sure if we can make this change because it will break anyone using Frame.
Need to discuss

@baaaaif
Copy link

baaaaif commented Apr 29, 2025

My thought on this: it's a change in the template and therefore only affects new projects.

So I see the "break anyone using Frame" as a kind of false positive.

@PureWeen PureWeen dismissed their stale review April 29, 2025 11:07

Incorrect assumption

@PureWeen
Copy link
Member

/azp run MAUI-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen PureWeen changed the base branch from main to inflight/current April 29, 2025 16:11
@PureWeen PureWeen dismissed jsuarezruiz’s stale review April 29, 2025 16:11

The base branch was changed.

@PureWeen PureWeen merged commit c2f1e26 into dotnet:inflight/current Apr 29, 2025
17 checks passed
PureWeen pushed a commit that referenced this pull request May 5, 2025
PureWeen pushed a commit that referenced this pull request May 5, 2025
PureWeen added a commit that referenced this pull request May 8, 2025
For more information about inflight process check
https://github.com/dotnet/maui/wiki/Inflight-Branch-Process

## .NET MAUI Release Notes - inflight/candidate

This document contains release notes for changes from main branch to
inflight/candidate branch.

### MAUI Product Fixes
* [iOS] Fix: FlyoutPage memory leak by @bhavanesh001 in
#28769
* [Windows] Fix for CarouselView IsSwipeEnabled=False Prevents Visual
Navigation by @SubhikshaSF4852 in
#29286
* [Windows] Fix for Argument Exception raised when the GetStringSize
method of ICanvas called with default font by @SyedAbdulAzeemSF4852 in
#29048
* Removed frame styles by @Vignesh-SF3580 in
#29222
* [Android] Fixed the CollectionView Header and Footer Do Not Align with
Horizontal ItemsLayout When EmptyView is Displayed by @Ahamed-Ali in
#28779
* Add global xmlns in template by @StephaneDelcroix in
#29203
* Fixed - On iOS GestureRecognizers don't work on Span in a Label, which
doesn't get IsVisible (=true) update from its parent by
@KarthikRajaKalaimani in #29024
* Fixed Footer not displayed at the Bottom When EmptyView in CV2 by
@Dhivya-SF4094 in #28681
* Fixed typo in Connectivity.shared.cs by @corvinsz in
#29213

### Testing
* Re-enabled flaky UI test TextInEditorShouldScroll by
@NirmalKumarYuvaraj in #29167
* [Testing] Re-Enabled UI Test - Issue10222Test by @TamilarasanSF4853 in
#29226
* [Testing] Feature Matrix UITest Cases for CollectionView Selection
Feature by @LogishaSelvarajSF4525 in
#29165

### Dependency Updates
*No dependency updates in this release*

### Docs
*No documentation changes in this release*

### Housekeeping
*No housekeeping changes in this release*

## New Contributors
* @corvinsz made their first contribution in
#29213

**Full Changelog**:
main...inflight/candidate
SuthiYuvaraj pushed a commit to SuthiYuvaraj/maui that referenced this pull request May 9, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The warning of XLS1111 appears once open MAUI App file Resources\Styles\Styles.xaml

4 participants