Disable Visual Studio Attach to Process Warning

The purpose of this post is to remove the annoying security warning while attach to process. PLEASE ALWAYS ATTACH!!


To remove the warning, all that needed to be done:

  1. Close all windows of Visual Studio 2013!! (the registry value won’t be set if it a window remains opened)
  2. Open regedit (just type it in from Win menu)
  3. Set the following key to 1 HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\Debugger\DisableAttachSecurityWarningCapture
  4. Restart computer

Hope this helps! Bye

Remap Resharper shortcut in Visual Studio

The problem for me was when I installed resharper and opened it for the first time, I selected default to Resharper shortcut which I later found that I had to press Ctrl + Shift + N to do the file search instead of traditional Ctrl + T.

Below answer is retrieved from StackOverflow (Not the selected answer, but has most upvotes and works for my case)

  1. Go to Tools -> Options -> Environment -> Keyboard -> Press the (RESET) button
  2. Go to ReSharper – > Options -> Keyboard & Menus -> Select the “Visual Studio” scheme -> Press “Apply Scheme”
  3. Press “Save”
  4. Press “CTRL-T”. Since this shortcut is mapped in both VS and Resharper, you will be presented with the “Shortcut Conflict”-window. Here you select “Use ReSharper (Ultimate) command” and make sure to check the box “Apply to all ReSharper (Ultimate) shortscuts”.



Remove Secure Warning in Visual Studio 2013

To resolve the error C4996:

Error 1 error C4996: 'sprintf': This function or variable may be 
unsafe. Consider using sprintf_s instead. To disable deprecation, 
use _CRT_SECURE_NO_WARNINGS. See online help for details.

Add the following marco on the very top of main() file:

#ifdef _MSC_VER