Updating version number at compile time

That would give each object file a build number and date.

If you, like me, are using Subversion as your primary Version System and want to embed the SVN revision number directly in the assembly, but don’t know how, this post will try to explain it.Before proceeding any further, you would need to download the following two packages (free!) I assume that you are familiar with Ms Build and how to work with SVN.Many IDEs and RAD tools do this for you automatically.If yours doesn't and you're using a make file to build your code you can add an auto-incrementing build number to your project with a few simple changes to your make file.

Search for updating version number at compile time:

updating version number at compile time-53updating version number at compile time-31

For one thing check to make sure that optimization doesn't remove the entire structure since it's static and unused.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “updating version number at compile time”