[MAUI] File.Designer.cs
is not generated for File.resx
placed in MAUI Library
#23716
Labels
area-single-project
Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/android 🤖
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
I migrated my shared Xamarin project to .NET MAUI Library. I need to use translations that are stored there. They need to be accessible from this library and from the MAUI app project that references this library.
However, when I copied
Resources/File.resx
to my MAUI Library, it doesn't auto-generate the correspondingResources/File.Designer.cs
file. I can create it manually, but I would like it to be auto-generated.Steps to Reproduce
net8.0-android
)Resources/Strings.resx
with sample translations to MAUI Library.Link to public reproduction project repository
No response
Version with bug
8.0.3 GA
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No.
I tried adding it manually to
csproj
but it doesn't help:Relevant log output
No response
The text was updated successfully, but these errors were encountered: