Friday, February 1, 2013

Turning off Attach Security Warning popup in VS

Every time you run your application from VS, it asks to attach the process, which is very annoying.
To turn off that dialog, follow these steps:

1. Goto registry (regedit.exe)
2. Select HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger
3. It has a DWORD value "DisableAttachSecurityWarning", change it to 1 (default is 0).

There is a catch. If VS is already running, it would ignore this change in the current session and while u close VS, it resets this registry entry.
So, change this registry key when VS is not running.
You are welcome.
 

No comments: