Editing resource in managed c++ - Question 1

  • Thread starter Thread starter Kaixin
  • Start date Start date
K

Kaixin

Hello,
Could someone please help me out?

How to add a version tab to an assembly's windows properties page for a
managed c++ project, without manaully creating a rc file and a user defined
rc2 file?

Thanks.
 
Hi Kaixin,

Thanks for you posting in the group!
add a version tab to an assembly's windows properties page

The version info on the version tab of an assembly's windows properties
page is just this assembly's9(the same as other format file).0 *file*
version. To add this version tab to on file's properties page, you have no
way but manually insert a Version resource.

For the Assembly's build version, you should specify it in the
AssemblyInfo.cpp.

However, you make the two version number an identical number.


Best regards,
Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
Hi Kaixin,

The file version and assembly version are totally two deferent things.

To specify a file version without using a Version Info rc to a managed C++
assembly:
[assembly: AssemblyFileVersion("1.0.0.0")] //in the AssemblyInfo.cpp
file


Best regards,
Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top