|
#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
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). |
#3
|
|||
|
|||
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? |
#4
|
|||
|
|||
#5
|
|||
|
|||
Where can I download the latest 5.X vbp (5.7)?
I only can find the link for 6.x TIA |
#6
|
|||
|
|||
#7
|
|||
|
|||
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 |
Thread Tools | |
Display Modes | Rate This Thread |
|
|