Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-12-2005, 01:00 PM
james_cline james_cline is online now
Registered User
 
Join Date: 01-22-2003
Posts: 7
Set specific version number on build of new output

I'm not sure how or if this is possible but, with Visual Build Pro 6.0, how can I specify that I want the version to be 1.123.456.7 if and only if the VS.Net 2005 C# project has produced (or will produce) a new assembly?


here's the logic,

if Project has changed
then set specific version and build
else skip


Any ideas or hints?

Thanks,
Jim C
Reply With Quote
  #2  
Old 10-12-2005, 02:34 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
You would need to retrieve the project's assembly file timestamp, build the project, then conditionally build the project (setting the version) if the timestamp changed. See attached sample.
Attached Files
File Type: bld cond_setver.bld (2.0 KB, 1756 views)
Reply With Quote
Reply


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 03:03 PM.


Copyright © 1999-2023 Kinook Software, Inc.