Ctrl+F5 changes command-line when it includes a quoted > character - by dmatson

Status : 

  Deferred<br /><br />
		The product team has reviewed this issue and has deferred it for consideration at a later time.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 780050 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/26/2013 11:30:33 AM
Access Restriction Public


VS doesn't behave correctly when the project properties command-line arguments includes an argument with the greater-than character (>). This behavior is particularly problematic when putting a password in as a command-line argument (a password may have a > character in it).

When trying to work around the VS F5 behavior, this behavior is even more surprising.

1.       Create a new Console App (VS 2012).
2.       Add the following lines to Main:
3.       On project properties (Debug tab), set the command-line arguments to (include the quotes): 
4.       Debug the application (F5). Note that it works (the output is "pass^>word").
5.       Execute the application (Ctrl+F5). Note that it dosen’t work. Specifically, args[0] is now different; it outputs "pass^>word" instead of "pass>word", silently adding a ^ character before the > character.
Sign in to post a comment.
Posted by Will [MSFT] on 3/27/2013 at 3:08 PM
Thank you for the valuable feedback. Though we will not have a chance to address this issue in Visual Studio 2012, we will consider this feedback when planning for future versions of Visual Studio. Investments in this area will be weighed against the impact of other customer reported issues.
Posted by Helen [MSFT] on 2/26/2013 at 10:41 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Posted by Helen [MSFT] on 2/26/2013 at 11:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)