microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.33k stars 676 forks source link

WinUI library projects throws Markup.XamlParseException: The text associated with this error code could not be found. #9522

Open Karthickmani97 opened 6 months ago

Karthickmani97 commented 6 months ago

Describe the bug

When adding a library project, I encountered a Markup.XamlParseException and failed to assign property issue.

Steps to reproduce the bug

Steps to reproduce the bug

  1. Click on the sample attached and download it.
  2. Run the project; you will encounter an exception.

WinUIDemo.zip

Expected behavior

It works fine without adding a library project.

Screenshots

No response

NuGet package version

None

Windows version

Windows 11 (22H2): Build 22621

Additional context

I encountered a Markup.XamlParseException and a failed property assignment issue when adding a library project. I need additional details to find out the exact cause of this exception.

github-actions[bot] commented 6 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.