Skip to content

Xaml Source Generator generates nullable warnings, we have warnings as errors. #34130

@malware-dev

Description

@malware-dev

Description

When the xaml source generator produces code, it is not nullable aware - or at least not completely. This means that some of its code generates nullability errors. We have a strong no-warning policy in our company since warnings are just hidden bugs, so this makes xaml generation not something we can use.

Good news is that even in our sizable app it seems like there were no other errors that were not of our own making!

Image

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

10.0.40

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

No response

Did you find any workaround?

Switch off warnings as error (not an option)

Relevant log output

Metadata

Metadata

Labels

area-xamlXAML, CSS, Triggers, Behaviorss/needs-attentionIssue has more information and needs another lookt/bugSomething isn't workingxsgXaml sourceGen

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions