I have a number of localized RESX files in my project:
Messages.resx
Messages.de.resx
Messages.qps-ploc.resx
The last one being a pseudo-localized text resource for testing purposes. I would like it to be compiled to a satellite assembly (i.e. project/qps-ploc/project.resources.dll) as the rest of localizations . But for some reason AssignCulture task is assigning empty culture to this resource and it's not compiled as the result.
Snippet from MSBuild log:
Task "AssignCulture"
Culture of "de" was assigned to file "Resources\Messages.de.resx".
Culture of "" was assigned to file "Resources\Messages.resx".
Culture of "" was assigned to file "Resources\Messages.qps-ploc.resx".
Done executing task "AssignCulture".
Pseudo-localization cultures have been enabled in registry as described here
and new CultureInfo("qps-ploc")
returns correct pseudo culture.
Is this an expected behavior from AssignCulture or just me using it wrong?
Not sure what happened, but suddenly everything started to work. Perhaps somehow related to system reboot.