G
Guest
In a project I am working on, it sounds like resource files are what I need
(to group things like error message strings).
If I put a resource file in a project, everything will work fine. However,
what I would like to be able to do is to put the resource files in a code
library of some sort (I am not sure if I am saying that correctly). From
reading some of the documentation (and some painful trial and error), I have
figured out how to make a public class with methods that expose the resources
(using the resgen and al utilities). Unfortunately, I have to compile these
components manually (which can be quite painful).
My question is whether or not there is a way to do this automatically in a
..NET project. The /publicClass switch is what does the trick but where would
I specify this switch in a project? Is it even possible? I have noticed
that the class I am expecting does get generated (or appears that way) but
all of the methods are marked as internal.
Any help will be most appreciated.
Thank you,
Jason Richmeier
(to group things like error message strings).
If I put a resource file in a project, everything will work fine. However,
what I would like to be able to do is to put the resource files in a code
library of some sort (I am not sure if I am saying that correctly). From
reading some of the documentation (and some painful trial and error), I have
figured out how to make a public class with methods that expose the resources
(using the resgen and al utilities). Unfortunately, I have to compile these
components manually (which can be quite painful).
My question is whether or not there is a way to do this automatically in a
..NET project. The /publicClass switch is what does the trick but where would
I specify this switch in a project? Is it even possible? I have noticed
that the class I am expecting does get generated (or appears that way) but
all of the methods are marked as internal.
Any help will be most appreciated.
Thank you,
Jason Richmeier