Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-08-2007, 01:37 PM
lherz lherz is online now
Registered User
 
Join Date: 07-21-2005
Posts: 15
Replace in File

First, please excuse my regex ingorance, but I am trying to use the regex function in the replace in file step to update the third element of a build number on a line within a text file. I have been able to get the match that I need, but I am looking for a way to replace a number with that number +1, and am having no muck.

Am I barking up the wrong tree here or am I just not getting the concept?

Any assistance would be greatly appreciated.
Reply With Quote
  #2  
Old 10-08-2007, 02:15 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
If it's a version field in an AssemblyInfo. or .rc file, you can use the Make VS.NET action to increment.
http://www.visualbuild.com/Manual/vs...olutiontab.htm
http://www.visualbuild.com/Manual/vsnetversionstab.htm

Otherwise, see http://www.kinook.com/Forum/showthre...?threadid=1505
Reply With Quote
  #3  
Old 10-08-2007, 03:35 PM
lherz lherz is online now
Registered User
 
Join Date: 07-21-2005
Posts: 15
It looks like the last option will work.

Thanks.
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 06:12 PM.


Copyright © 1999-2023 Kinook Software, Inc.