Blazor Web Assembly - Lazy Loading .resources.dll

Viewed 148

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:

The Dlls and resources that exist when the application is running: ranA.PNG

dlls

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.json

enter image description here

Visual Studio 22

Dotnet version: 6.0.300

0 Answers
Related