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

Closed

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

Activity

  1. added
    i/regressionThis issue described a confirmed regression on a currently supported version
    area-xamlXAML, CSS, Triggers, Behaviors
    on Sep 12, 2023
  2. added this to the .NET 8 GA milestone on Sep 12, 2023
  3. changed the title [-]XAMLC is currently throwing exceptions in RC1 that don't appear to have been throwing in PReview7[/-] [+][regression/8.0.0-rc.1.9171] XAMLC is currently throwing exceptions in RC1 that don't appear to have been throwing in PReview7[/+] on Sep 12, 2023
  4. added 2 commits that reference this issue on Sep 14, 2023
    6ee2fe9
    42e47d1
  5. added a commit that references this issue on Sep 15, 2023
    671bf15
  6. added a commit that references this issue on Sep 17, 2023
    77f0def
  7. ghost locked as resolved and limited conversation to collaborators on Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions