Making ResXFileCodeGenerator generate public classes from Visual Studio 2005.
Visual Studio 2005 has a cool tool
that takes a resource file and generates a strongly typed wrapper around it. It
has one problem, though, it creates internal classes, and I want to centralize
all my strings in a single assembly, which all the other projects will
reference.
Interestingly, "ResGen.exe
resources.resx /str:c# /publicClass" will create the code I want, but I have hard time finding out how to
enable this from Visual Studio.
The question has been asked in the newsgroups,
but so far no one has an answer. I found some workarounds, but I wonder if
there is a true way to do it.
Comments
Comment preview