Skip to content

[Fix] Locating Microsoft.WindowsAppRuntime.pri in framework usage #5582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Hong-Xiang
Copy link
Contributor

@Hong-Xiang Hong-Xiang commented Jul 1, 2025

In framework deployment scenario, the Microsoft.WindowsAppRuntime.pri is installed in the WinodowsAppRuntime's msix installation folder, not the folder of app using WinAppSDK, the resource manager need to handle that case.
Current code is copy from WinUI's code (with minimum modification) handling this same problem from

With this fix localization would work in both self-contained and framework sceario.

@Hong-Xiang
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Hong-Xiang Hong-Xiang changed the title fix pri loadinig for framework usage 1.8exp4 [Fix 1.8exp4] Locating Microsoft.WindowsAppRuntime.pri in framework usage Jul 1, 2025
@Hong-Xiang Hong-Xiang marked this pull request as ready for review July 1, 2025 17:40
@Hong-Xiang Hong-Xiang changed the title [Fix 1.8exp4] Locating Microsoft.WindowsAppRuntime.pri in framework usage [Fix] Locating Microsoft.WindowsAppRuntime.pri in framework usage Jul 2, 2025
@Hong-Xiang
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Hong-Xiang
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Hong-Xiang
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Hong-Xiang
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Hong-Xiang
Copy link
Contributor Author

Hi @DrusTheAxe, the code has been updated to use WIL APIs, and all calls to package graph-related APIs have been removed. Could you please check if there are still any requested changes?

Copy link
Member

@DrusTheAxe DrusTheAxe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super :-)

@Hong-Xiang Hong-Xiang merged commit 4f83b3c into main Jul 19, 2025
34 checks passed
@Hong-Xiang Hong-Xiang deleted the user/xianghong/fix-pri-loadinig-for-framework-usage-1.8exp4 branch July 19, 2025 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants