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 translations Article translations
Article ID: 919827 - View products that this article applies to.
Expand all | Collapse all

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.

Properties

Article ID: 919827 - Last Review: June 26, 2006 - Revision: 1.0
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
Keywords: 
kbtshoot kbprb KB919827

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com