2

As part of the solution to How do I control the screensaver name shown in the drop down list?,
I asked I have added a resource file to my project. I was able to set the icon for the application in the resource file but I'm not sure how the other attributes (ie: File Version, Description, Copyright, etc.) should be set. I imagine I need to put them in the resource file but I'm not clear on the details. Any advice?

Community
  • 1
  • 1
Cory Charlton
  • 8,868
  • 4
  • 48
  • 68

1 Answers1

2

The file version, description, etc, are stored in a VERSIONINFO resource.

See the Version Information topic at MSDN for more info.

Edit: yes, those are the fields that are stored in the VERSIONINFO resource.

John Knoeller
  • 33,512
  • 4
  • 61
  • 92
  • Lol it's right there when I add a resource too. Any advice on automatically generating this from my AssemblyInfo.cs file like normally happens when you aren't including a Win32 resource? – Cory Charlton Feb 25 '10 at 01:56
  • @Cory: sorry no, I don't know if the magic mechanism call be called explicitly. I can some example code of how to fill out a VERSIONINFO resource if you need it. – John Knoeller Feb 25 '10 at 02:05