Search code examples
c#.netwindowsresourceswindows-screensaver

How can I add the Assembly* values back to my executable?


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?


Solution

  • 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.