![]() |
How do I modify my compiled exe's Version info?
This might be a silly question as there may be some easy way to do this, but how do I add the information to my exe such as company name and copyright as well as description and all those other goodies. Any ideas?
|
If you initially made no allowances for this in the code, there's not a whole lot you can do. However, if you're referring to a Windows program (which I feel is likely since you mentioned .EXE), then you can modify the resources with a resource editor (there are ones that can modify the resources appended to a .EXE or .DLL image). This way, if you have, say, string tables, you can update them without needing to recompile. However, if you've got the source, why not just recompile? Stuff like version info might be best if it were hardcoded, specifically to prevent this sort of tampering (you can use symbolic constants or compile-time expressions in your source).
|
Yes that's actually what I meant lectricpharaoh I have the source code I just don't know how to go about compiling it with said information in the code or from the options available to me in VB.NET. Could you perhaps suggest somewhere that an example of the code is available or how I would add this to my own code? Thx, I tried looking for it at the MSDN library but all I found was a class that could retrieve the information, not actually set it for my app.
|
If you right click on the project name over in the Solution Explorer, and go down in the menu to Properties, and click on that. That will bring up a bunch of config thing and go to the tab about publishing and there is an option to set the version number. If you still can't find it I could take some screen shots of what I mean.
|
Hmm... well I right clicked the project in the Solution Explorer and then selected Properties, but there doesn't appear to be a publishing tab of any sort, would you please help me out with those screen big_k105 I'd appreciate it.
|
Actually I figured it out after tinkering about with the Solution Explorer, turns out that if you double click on a file called AssemblyInfo.vb that contains the parameters there so you can modify them. Thanks for the help though big_k105 it pointed me in the right direction ^_^
|
| All times are GMT -5. The time now is 12:43 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC