Skip to content

[regression/8.0.0-rc.1.9171] XAMLC is currently throwing exceptions in RC1 that don't appear to have been throwing in PReview7 #17333

@PureWeen

Description

@PureWeen

Description

XAMLC is currently throwing exceptions in RC1 that don't appear to have been throwing in PReview7

/Users/shneuvil/Downloads/AXamlCStyleError/AXamlCStyleError/Resources/Styles/DefaultStyles.xaml: Error: Collection was modified; enumeration operation may not execute. (AXamlCStyleError) XamlC

Steps to Reproduce

Download this sample based off of https://github.com/davidortinau/ControlGallery
AXamlCStyleError.zip

Try to compile it

Link to public reproduction project repository

https://github.com/davidortinau/ControlGallery

Version with bug

8.0.0-rc.1.9171

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.0-preview.7.8842

Affected platforms

iOS, Android, Windows, macOS

Affected platform versions

No response

Did you find any workaround?

Remove XAMLC attribute from failing files

Relevant log output

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions