Microsoft KB Archive/919827

= The command-line arguments that you specify are not passed to the debug executable file when you enable the Debug in Zone feature in Visual Studio 2005 =

Article ID: 919827

Article Last Modified on 6/26/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team System Architect Edition
 * Microsoft Visual Studio 2005 Team System Developer Edition
 * Microsoft Visual Studio 2005 Team System Test Edition
 * Microsoft Visual Studio 2005 Team Foundation
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition

-





SYMPTOMS
Consider the following scenario. You create a solution in Microsoft Visual Studio 2005. You enable the Debug in Zone feature. You specify command-line arguments. You press the F5 key to debug the solution. In this scenario, you receive the following message:

The current project settings specify that the project will be debugged with specific security permissions. In this mode, command line arguments are not passed to the executable. Do you want to continue debugging anyway?

If you click Yes, the command-line arguments that you specify are not passed to the debug executable file.



CAUSE
The Debug in Zone feature requires that you set specific security permissions. Visual Studio 2005 cannot pass command-line arguments to a debug executable file when you set the specific security permissions.



STATUS
This behavior is by design.

Keywords: kbtshoot kbprb KB919827

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.