Visual Studio by default is showing a message when trying to attach to process. It is saying that:
Attaching to this process can potentially harm your computer. If the
information below looks suspicious or you are unsure, do not attach to
this process.
Because I'm attaching many times a day it becomes really annoying. Couple minutes of googling and here it is the solution for disabling it:
- First you need to make sure that Visual Studio isn't running.
- Next you need to modify registry key depending on which version of Visual Studio you have.
For Visual Studio 2008:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger
For Visual Studio 2010:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger
For Visual Studio 2012:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\Debugger
In all cases simply set DisableAttachSecurityWarning to 1.
That's all.
No comments:
Post a Comment