Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Run Program ....quoting arguments (https://www.kinook.com/Forum/showthread.php?t=2073)

amccool 09-25-2006 09:22 PM

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?

kinook 09-26-2006 07:24 AM

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).

amccool 09-26-2006 11:36 AM

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?

kinook 09-26-2006 12:04 PM

http://www.kinook.com/Forum/showthre...?threadid=1315

amccool 09-26-2006 02:54 PM

Where can I download the latest 5.X vbp (5.7)?
I only can find the link for 6.x
TIA

kinook 09-26-2006 04:29 PM

http://www.kinook.com/Download/VisBuildPro57.exe

amccool 09-26-2006 04:35 PM

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


All times are GMT -5. The time now is 02:29 PM.


Copyright © 1999-2023 Kinook Software, Inc.