Warning: "Project will be debugged with specific security permissions"

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

Using VS.NET 2005 Team Edition for Software Developers I press F5 to build
my project and run in debug mode. After the build succeeds I receive the
following warning in a modal dialog:

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

YES NO

Could somebody please help me suppress this dialog, or better yet, fix the
problem?

A few things, in chronological order:

1. I am passing command-line args to my EXE so it starts up in a custom
'debug' state.
2. The project worked fine yesterday. I'm pretty confident as well that I
ran the project in debug mode before I closed the solution just to test that
it was in a working state.
3. Since yesterday, I installed the latest Managed DirectX SDK (I think it's
April 2005)
4. The project for which I'm posting this message and is causing problems
does not use DirectX, however the DirectX installation did make changes to
VS.NET for debug support.
5. Since yesterday I have not even opened this project.
6. Clicking YES will run the project but seems to give me some trouble
7. Clicking NO cancels the execution
8. I did not mess with the grammar in the message. I've typed it verbatim.
i.e. "command line arguments are not be passed to the executable" :)

I've searched MSDN and Google Groups but I only found one post in a forum
that mentioned the warning I speak of and the author said that it was due to
changes he made in Security --> Advanced Options. I think he was referring
to VS.NET 2005 but I'm not sure where these settings exist. I looked in the
project settings and Tools --> options without luck. I hope I just
overlooked something.

Thanks in advance for any help,

Dave


.



Relevant Pages

  • Re: Strange errors
    ... when I just cut and past the last command it works without ... I turned JIT off and I still get the randomly get these ... Type "dbstop if error" without the quotes at the prompt, ... you'll enter debug mode. ...
    (comp.soft-sys.matlab)
  • Re: Operands to the || and && operators must be co
    ... % -or- enter the debug mode right after the first command ... Operands to the || and && operators must be convertible to logical ... convertible to logical scalar values.' ...
    (comp.soft-sys.matlab)
  • Re: Strange errors
    ... when I just cut and past the last command it works without ... I turned JIT off and I still get the randomly get these ... but again in debug mode everything ... wouldn't solve the root problem, ...
    (comp.soft-sys.matlab)
  • Re: -Crawl- YAOODD: Thog the Ogre Fighter
    ... Darshan Shaligram wrote: ... > will know and love this command). ... > rather not use Ctrl-D if possible. ... as I never used debug mode. ...
    (rec.games.roguelike.misc)
  • Re: breaklinks
    ... Dim oShp As Shape ... For Each oSld In ActivePresentation.Slides ... ' results since the code execution does not halt while menu ... It works well, instead, if i run it in debug mode, step by step. ...
    (microsoft.public.powerpoint)