microsoft / microsoft/WindowsAppSDK

Resw aka Resources can't be Accessed Between WinUI Based Class Library Projects in Xaml

Open
#4,310 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

Resw aka Resources can't be Accessed Between WinUI Based Class Library Projects in Xaml.

When Trying to Access Resources that Part of Main App Project with Xaml from a WinUI Based Class Library Which is Not Directly Dependent on Main Project Instead Main Project is Depended on that WinUI Based Class Library, it just doesn't Work and No Exception Whatsoever, If we try the Same by Using ResourceLoader in C#, It Just Works as Expected, I'm not sure this a bug or it's Intended Behavior

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked ResWDemoAppProject and reproduce access to main-app resources from XAML in the WinUI class library. Compare that behavior with the working C# ResourceLoader path, then determine whether the XAML behavior is a bug or intended and identify the relevant validation or documentation needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.