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 09-25-2006, 09:22 PM
amccool amccool is online now
Registered User
 
Join Date: 09-25-2006
Posts: 5
Run Program ....quoting arguments

running v5.5

I'm having a heck of a time passing quoted strings to msbuild.

I'm using Run Program to execute msbuild (%DIR_MSBUILD%\msbuild.exe)

my path to the .proj file has spaces in it.
I also need to set /property:XXX="ccc ccc";YYY="hhh jjj"

however the last " is not being passed to the execution environment.

Is this a bug that was fixed in a later release?
Reply With Quote
  #2  
Old 09-26-2006, 07:24 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
I don't believe there were any bugs like that reported since v5.5. Have you tried

/property:"XXX=ccc ccc;YYY=hhh jjj"

or

/property:"XXX=ccc ccc" /property:"YYY=hhh jjj"

Also, v6 has a built-in MSBuild action that simplifies this (and v5 is no longer being supported or updated).
Reply With Quote
  #3  
Old 09-26-2006, 11:36 AM
amccool amccool is online now
Registered User
 
Join Date: 09-25-2006
Posts: 5
thanks for the second option, I didnt try /property:xxx="yy" /property:zzz="vvv"

Is the 5.x product supported at all any longer, or must we move to 6.x?

Could you point me to the upgrade path document? Is there an upgrade cost associated?
Reply With Quote
  #4  
Old 09-26-2006, 12:04 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.kinook.com/Forum/showthre...?threadid=1315
Reply With Quote
  #5  
Old 09-26-2006, 02:54 PM
amccool amccool is online now
Registered User
 
Join Date: 09-25-2006
Posts: 5
Where can I download the latest 5.X vbp (5.7)?
I only can find the link for 6.x
TIA
Reply With Quote
  #6  
Old 09-26-2006, 04:29 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.kinook.com/Download/VisBuildPro57.exe
Reply With Quote
  #7  
Old 09-26-2006, 04:35 PM
amccool amccool is online now
Registered User
 
Join Date: 09-25-2006
Posts: 5
Talking

I found the solution to my problem, Its not VBP related (as you likely gathered)


problem is that MSBUILD.exe is reading the command line arguments and applying escape characters

so
/p:ABigDirectory="c:\temp\" doesnt work as \" is removed

but
/p:ABigDirectory="c:\temp\\" does work

thanks for your help
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 02:34 PM.


Copyright © 1999-2023 Kinook Software, Inc.