Just including the “version.res” file inside the LINK’s file list also does not work.  I am comparing the output of NANT (using verbose logging) and VS and they seem near identical.

 

There are no errors during the compile.  Windows just won’t show the “Version” properties tab in the DLL’s Properties dialog when I compile via NANT.

 

Thanks again,

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Elder
Sent: Wednesday, July 06, 2005 11:13 PM
To: [email protected]
Subject: [Nant-users] Help with CL / LINK / RC and Versioning DLLs

 

This should be “simple” but it escapes me.  I have an unmanaged C++ DLL that I can build with CL and LINK no problem.  I also have a “Version.rc” file that I am able to turn into “Version.res” no problem.  Now, how do I get the DLL embed the version info correctly?  I tried the “EmbeddedResource” tag under LINK but it seems to ignore it.  The “Version.rc” file contains a standard VERSION_INFO definition, which is suppose to add a version “Properties Dialog” to the final compiled DLL (when viewed via Explorer)

 

Any tips?

 

Cheers,

Reply via email to