Skip to content

[MAUI] Building Maui App with sample content results CS0122 errors. #34512

@Winnie-ZLR

Description

@Winnie-ZLR

Description

Building Maui App with sample content results CS0122 errors.

Steps to Reproduce

  1. Create a new .NET Maui App > Check 'Include sample content'
  2. Change the Maui control version to 10.0.50-ci.inflight.26165.6
  3. Build the project.
  4. Observe the Error List.

Actual behavior:
The error list shows four CS0122 errors.
Error: CS0122 'ContentLabel' is inaccessible due to its protection level
Image

Expected behavior:
There should not be any errors and debugging should succeed

Version with bug

10.0.50-ci.inflight.26165.6

Is this a regression from previous behavior?

Yes, this is a regression. This can't be reproduced on 10.0.50-ci.inflight.26159.1

Affected platforms

Windows, Android, iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    csi-newi/regressionThis issue described a confirmed regression on a currently supported versionp/0Current heighest priority issues that we are targeting for a release.partner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    In Progress

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions