Bugs item #1770152, was opened at 2007-08-08 18:23
Message generated for change (Comment added) made by ggeurts
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1770152&group_id=54790

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Serge Baltic (hypersw)
Assigned to: Nobody/Anonymous (nobody)
Summary: MSBuild Task: Property Values Must Be Escaped

Initial Comment:
If a property value ends with a backslash, it does not get escaped and goes 
into the msbuild command line “as is”. As the property value is enclosed in 
quotes, the closing quote with a backslash is treated as an escaped quote, and 
the next command-line argument is glued with the property value.

Example:

… <property name="OutDir" value="t:\bin\" /> …
Suppose the command-line like "/p:OutDir=t:\bin\" /p:Something=Else
in this case, the OutDir's value is “t:\bin" /p:Something=Else”, and the 
“Something” property is not set at all.

----------------------------------------------------------------------

Comment By: Gerke Geurts (ggeurts)
Date: 2008-01-28 17:48

Message:
Logged In: YES 
user_id=707583
Originator: NO

Temporary workaround is to add a space at the end of the property value,
e.g. <property name="OutDir" value="t:\bin\ " />

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1770152&group_id=54790

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to