|
I need to supress the inclusion of the standard ResourceManager in the InitalizeComponet method. I have overridden the Serialize method in an inherited CodeDomSerializer but the CodeStatementsCollection does not contain the ResourceManager code. I can serialize the correct custom ResourceManager but I can not stop the standard ResourceManager from being written to the method.
I am using a custom ResourceManager to search customized satellite dlls before falling back to the standard ResourceManager behavior and having to maintain 2 different the code form InitalizeCOmponent in 2 different methods is going to cause problems down the line.
Any help would be appreciated. |