-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowsregressed-in-10-preview7s/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
I have a custom control with a VisualState defined in XAML. When XamlC runs during compilation, it throws the following error: XamlC error XC0000: Cannot resolve type "http://schemas.microsoft.com/dotnet/2021/maui:MyButton"
Steps to Reproduce
- Create a custom control named MyButton that inherits from Button.
- Declare the XML namespace (xmlns) for MyButton in your XAML file.
- Use MyButton in XAML and define a VisualState for it.
- Build the project.
Link to public reproduction project repository
https://github.com/telerik/ms-samples/tree/main/Maui/XamlCNet10Preview7Issue
Version with bug
10.0.0-preview.7
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
10.0.0-preview.6
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No.
Metadata
Metadata
Assignees
Labels
i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowsregressed-in-10-preview7s/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