How to create a Windows resource for embedding in a .NET assembly, starting with text?

I was looking to embed custom version strings using assemblies some time ago, and one of the approaches that the proposed documentation was to embed Windows resources.

The only way I can create a Windows resource is to use a “native resource template”, but the template is a binary that is not suitable for use with subwcrev . Is there a way to create a Windows resource as part of a C # project that starts with a human-editable text file, similar to the .rc files used in C ++ projects? If so, how?

+1
source share
2 answers

It seems that you do not have VS2005 or VS2008 and you are looking for Windows resource creation. Yes, the ".resources" files are binary, but you can create an XML file or a text file that is converted to this binary file. Take a look at the ResGen tool documentation . It is available with .NET.

+1
source

VisualStudio 2005 2008 ( ) " " ( "" " " ). XML , - VisualStudio. , SubWCRev, , .

0

All Articles