-
Couldn't load subscription status.
- Fork 1.9k
fix resources localization #31466
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
fix resources localization #31466
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build error...?
.dotnet/sdk/10.0.100-rc.1.25416.112/Microsoft.Common.CurrentVersion.targets(3442,5): Error MSB3552: Resource file "../../../Controls/src/SourceGen/xlf/MauiGResources.resx" cannot be found.
358ae19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a resources localization issue by correcting file paths in the localization configuration. The changes ensure that localized resource files are properly generated and referenced in the correct directory structure.
Key changes:
- Updates the source file path for MauiGResources.resx in the unit test project to remove incorrect "xlf" subdirectory
- Corrects the output path in the localization configuration to include the "xlf" subdirectory for proper localized file generation
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Core/tests/UnitTests/Core.UnitTests.csproj | Fixes the source path reference for MauiGResources.resx by removing the incorrect "xlf" directory from the Include path |
| eng/automation/LocProject.json | Corrects the OutputPath to include "xlf\" subdirectory for proper localized resource file generation |
Description of Change
fix resources localization