Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-22-2004, 10:17 AM
zimbo zimbo is online now
Registered User
 
Join Date: 01-22-2004
Posts: 1
Conditional set of .NET assembly version?

I'm currently evaluating VisBuildPro and am very close to purchasing it. There's one thing left to figure out how to do.

I have a nightly build with an incrementing build number. I would like the assemblies that were rebuilt during the build to be stamped with the build number. Using the "Set the project version to a specific value" option on the Versions tab of the Make VS.NET step, I'm able to do that.

However, I only want to stamp the build number on an assembly that actually had changes made to it. In other words, for assemblies that are already up-to-date (no source code changes since last build), I don't want to update the build number.

So, what I need is the conditional functionality of the "Increment the version if the target executable timestamp changes" option but the ability of the "Set the project version" to set the version to a specific number rather than simply incrementing it.

How would I do this, keeping in mind that I'm building several solution (.sln) files each of which contains several project (.csproj) files?

Thanks,

--Steve Zimmerman
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:15 AM.


Copyright © 1999-2023 Kinook Software, Inc.