Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2007

Tip: Looking for answers? Try searching our database.

add version to resource only DLL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kaplane - 07 Mar 2007 17:52 GMT
I have a resource only project/DLL, and I want to be able to add version
information to it.  There are make files (batch files) that create the
rc file at build time and it overwrites whatever is already in there.

I tried adding another resource file to store the version information,
but it seems to ignore that once the other resource file exists.  So I
tried adding a line to the .bat file that generates the .rc file to
append the version information to it, but there was no change to the
DLL.  The .rc file had the text in there, but the DLL still had no
version attached to it.

Is there some special way to add the version information to a resource
only DLL?
Peter Ritchie [C# MVP] - 08 Mar 2007 03:14 GMT
You need to add a VS_VERSION_INFO section to your resources.  This can be
added by Visual C++.

In the past I've made some defines for the various version information I
wanted to update during build and included that file in the Read-only symbol
directives (I forget if VC2005 does that still)

I may have had to move the Version info to its own file and included that as
well (the wizard may not like the defines...).

Signature

Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

> I have a resource only project/DLL, and I want to be able to add version
> information to it.  There are make files (batch files) that create the
[quoted text clipped - 16 lines]
> ------------------------------------------------------------------------
>  

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.