[Blazor Web Assembly] Lazy Loading .resources.dll

Copper Contributor
Hello,
I have a Blazor WASM project 'Project A' that Lazy Loads a Razor Class Library project 'Project B'.
 
Project B contains some resources (.resx files) with the following folder structure
 
    -Project B
        - //
        -Resources (directory)
            - MyResources.resx (Public)
            - MyResources.el-GR.resx (No Code generation)

        - //

When I build and run Project A, the .dll containing Project's B resources is loaded as shown in the following pictures:


ranA.PNG

dlls.PNG

My issue is that I can't figure out why when I publish Project A, the .dll containing Project's B resources is not loaded as a satellite assembly, therefore the resources cannot be accessed.
Published blazor.boot.jsonpublished.PNG

Visual Studio 22
Dotnet version: 6.0.300
1 Reply

Hi @YianRak,

Thanks for posting your issue here.

However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang