As it stands right now, I just create reference to a .resource file and, when I need to update that file, drop to the command-line and run resgen on the source text-file. I just wish there was an easier way.
Would this require the creation of a VS.NET add-in?
Actually, it's quite easy to do what you want. After you add the text file to the project, do the following in the properties for that project.
- Set the Build Action to Embedded Resource.
- In the Custom Tool field, type in RESGEN.
This was first published in March 2003