C
C#2d ago
Ruttie

✅ EmbeddedResource trouble

I have a folder containing Language.resx and Language.nl.resx. I cannot get it to include Language.nl.resx as an embedded resource. Not adding any statement in csproj: Language, but not Language.nl Adding <EmbeddedResource Include="PATH_TO_Language.nl.resx" />: error: Duplicate 'EmbeddedResource' items were included. Adding <EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems> (with or without above): nothing What is going wrong? I have looked at the embedded Language resource and it only contains the Language.resx data, not Language.nl.resx.
2 Replies
Ruttie
RuttieOP2d ago
I have found the Language.nl resource file, for some reason it is in a separate dll PROJECT.resources.dll under the nl directory??? I can't really do much with that...
reflectronic
reflectronic2d ago
yes, that's how it works it is found automatically by the resource loader when you need the dutch resources. you don't need to do anything

Did you find this page helpful?