mpf1748
asked on
Setting/Obtaining Version Info in C++.Net v1.0
Hi,
Is there a reliable way of setting and obtaining file version info in C++.Net v1.0? I can "successfully" set the version of the file by setting the AssemblyVersionAttribute (and AssemblyFileVersionAttribu te) in AssemblyInfo.cpp, but the only way I can view this is by opening the file in ILDASM - not by positioning my mouse over the file or in the properties. However, this would be fine, except I cannot get the version progammatically. I've used Application, Form, and FileVersionInfo to no avail. Is there a way to set the version so that you can get the version programmatically in VC++.Net v1.0?
Thanks,
mpf1748
Is there a reliable way of setting and obtaining file version info in C++.Net v1.0? I can "successfully" set the version of the file by setting the AssemblyVersionAttribute (and AssemblyFileVersionAttribu
Thanks,
mpf1748
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Actually that is the current current assembly, not the original executing assembly.
ASKER
Not as easy as I was hoping, but it works. There is Assembly::GetExecutingAsse
mpf1748