Open nix365 opened 8 months ago
By replacing the whole csproj you are leaving out the important part for picking up the ResX files, so that is the reason why it doesn't work I would think.
Does the demo work if you don't replace the whole csproj? Does your project work if you include those references to the ResX files?
Hi @nix365. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Thank you for your response and sorry for the confusion, I only replaced the PropertyGroup and did not touch the rest of the file.
Can repro this issue on the latest 17.10 preview2.
I have the same issue but then for Android. Windows seems to be working using .net 9 preview 4.
Description
The files from AppResources.lang.resx get ignored and only the AppResources.resx file is being used
Steps to Reproduce
Change the beginning of the LocalizationDemo.csproj to
Link to public reproduction project repository
https://github.com/dotnet/maui-samples/tree/main/8.0/Fundamentals/Localization
Version with bug
8.0.6 SR1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
net8.0-windows10.0.19041.0
Did you find any workaround?
no
Relevant log output
No response