When you attach to a process, you sometimes get the message confirming whether you want to attach the process.
This happens for each process you are attaching. ANNOYING! This is how to disable it.
- Make sure Visual Studio 2010 is first shut down
- Click Start > Run... Type "regedit" <Enter>
- For VS 2010 navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger
- For VS 2008 navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger
- Set DisableAttachSecurityWarning to 1
Cheers,
Justin