Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 01-11-2010, 01:08 PM
abcdetech abcdetech is online now
Registered User
Join Date: 04-30-2008
Posts: 18
Get the latest or from a label in VSS

I have VSS as source control.

In my script I want to have a switch/macro - let's say LabelOrNot.

If LabelOrNot = true

my project in VSS will be labelad with %VSSLabel% and next step would Get from L%VSSLabel%

If LabelOrNot = false

My project will not be labeled and I would get the latest source code.

I have no problems with Labeling. But the second step where I have to specify a "Version To Operate On" - it will be either %VSSLabel" or BLANK - here I have a problem.

your help is appreciated.
Reply With Quote
Old 01-11-2010, 01:45 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,900
[vbld_IIf(%LabelOrNot%, "%VSSLabel%", "")]
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 09:22 PM.

Copyright 1999-2022 Kinook Software, Inc.