-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Closed
Copy link
Labels
area-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorsi/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationregressed-in-10-preview3s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
The warning of XLS1111 “'ListView' is obsolete: 'Please use CollectionView instead.'.” appears once open Resources\Styles\Styles.xaml
There is a similar issue for .NET 9 #29218, the content of XLS1111 is "'Frame' is obsolete: 'Frame is obsolete as of .NET9. Please use Border instead.'"
Steps to Reproduce
- Create a File > New .NET MAUI App
- Open file Resources\Styles\Styles.xaml
Expected outcome: No errors or warnings.
Actual outcome: Warning of XLS1111 appears.
<style>
</style>
| Severity | Code | Description | Project | File | Line | Suppression State |
|---|---|---|---|---|---|---|
| Warning | XLS1111 | 'ListView' is obsolete: 'Please use CollectionView instead.'. | MauiApp11 | C:\Users\v-yanfw\source\repos\MauiApp11\MauiApp11\Resources\Styles\Styles.xaml | 194 |
Link to public reproduction project repository
No response
Version with bug
10.0.0-preview.7
Is this a regression from previous behavior?
Yes, repro on 10.0.100-preview.5.25277.114
Did you find any workaround?
If we change “ListView” to “CollectionView ” as suggested by Warning XLS1111 info on VS latest main branch build Version 18.0.0 Preview 1.0 [10911.176.main] (.NET 10 version: 10.0.0-preview.7.25380.108), 2 new errors will appear:
Relevant log output
Metadata
Metadata
Assignees
Labels
area-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorsi/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationregressed-in-10-preview3s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done