ResXFileCodeGenerator - overriding the output (want to use a Custom ResourceManager)

Viewed 5340

I've created a class the inherits from ResourceManager. My problem is that if I change my Resources.Designer.cs to use it,

e.g.

private static global::System.Resources.ResourceManager _resourceManager;

to

private static global::MyProject.Resources.MyResourceManager _resourceManager;

it gets overwritten by the ResXFileCodeGenerator and set back to the default System.Resources.ResourceManager.

I don't want to turn off the ResXFileCodeGenerator. But is there any way of telling it which ResourceManager class to use?

I was told to look at ResXFileCodeGeneratorEx but can't really see how that is any different in this respect.

3 Answers
Related