I am working on a localised C#.NET application and we are using a strings.resx file to translate hardcoded strings in the application. I use the following code
strings.resx
I had the same problem using ASP.NET Core MVC and managed to solve it using
ResourceManager rm = new ResourceManager(typeof(YourResourceClass)); string someString = rm.GetString("someString");
Very similar to @Vlad's solution, but otherwise I had a MissingManifestResourceException
MissingManifestResourceException