Davo,
Well, you could create your own custom tool which will do this for you.
For more details on how to do this, check out:
http://www.drewnoakes.com/snippets/W...rVisualStudio/
From this, it is easy to figure out how to access the functionality of
the original generator. From there, you can have the original generate your
code, then use the classes from CodeDom to parse the code apart. Once you
have that, you just set the access modifier to public, and have CodeDom
re-generate the text needed.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Davo" <da******@gmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
Why not just create a wrapper class for it then that is public?
Creating a public accessible class is certainly possible but it defeats
the purpose of Auto Class Generation that is allready built in to .NET
2
I might as well not botthered with a resource file and just used
regular constant class declaration.
I guess what I'm after is a custom code generator for this particular
RESX file or options for the current code generator that will allow it
to generate public accessors.
Dave