File version gone with resource file
- From: ojh@xxxxxxx
- Date: 25 Aug 2006 00:50:17 -0700
I was very happy yesterday when I figured out how to include multiple
icons in my exe file in VS 2005 (the second one is for the file type my
tool uses). I did this by creating a .res file with rc.exe, containing
just my two icons and specifying this resource file in Properties |
Application | Resources. VS used the first icon as my application icon,
and "whatever.exe,1" in HKCU finds the second icon, which is exactly
what wanted.
Unfortunately, today I noticed that the exe file doesn't seem to have a
file version anymore. I display the file version
(Application.ProductVersion) in my program, but it only shows 1.0.0.0
now. Also, the exe file properties don't have a Version page.
If I remove the resource file, the file version is back, both in the
program and in the properties.
Does this mean the res file overrides my Assembly Info settings? Is
there anything I can do?
Thanks
Oliver
.
- Prev by Date: Re: How to get rid of 'Do you want to upgrade' spash screen?
- Next by Date: VS and HTML Validation
- Previous by thread: VS2005 - Where are control properties stored?
- Next by thread: VS and HTML Validation
- Index(es):
Relevant Pages
|