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



Nobody has any idea?

It's a VS.NET warning box that I'm referring to and it's driving me crazy.
Why is it popping up? How can I stop it?

The warning is preventing me from debugging my application with ease.
Instead of hitting F5 I have to hit Ctrl+F5 and then manually attach to the
process.

Any input would be greatly appreciated,

Thanks!

"Dave Sexton" <dave@jwa[remove.this]online.com> wrote in message
news:uU%233wIvjGHA.1260@xxxxxxxxxxxxxxxxxxxxxxx
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: Critique my assignment please
    ... foo.c:44: warning: no previous prototype for `NumberFromUpperLetter' ... Debug Mode: SAFE because assertion fails if input is invalid ... unsigned NumberFromUpperLetter(char const x) ...
    (comp.lang.c)
  • Re: Stupid SQLCE warning message
    ... you just pretend you did not see ... >> I am trying to replicate SQL Server Database to SQLCE and solving one ... >>>Incorrect Deployment Warning ... >> How can I ignore this messae and start application in debug mode from ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: detecting uninitialized variable access?
    ... variable access. ... Is it possible to automatically detect it in Debug mode? ... You can compile your code with warning level 4. ...
    (microsoft.public.vc.language)
  • Re: A level 4 warning shown only in release mode, not in debug mode
    ... the warning level from 3 to 4. ... In debug mode, we compile the ... that some of warning and error happens in debug mode as well and was ... Because those warnings are emitted by the optimizer, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: log4j, NoClassDefFoundError
    ... In that case I am referring to malfunctioning code. ... environment variable without warning that Sun considers it a 'suboptimal solution' and has done so for a long time? ... ...Do you even agree that mentioning the environment ...
    (comp.lang.java.programmer)