3

Does somebody find the solution for VS 2017, I tried to add the same key in 15.0 version without success...

Robert Columbia
  • 6,313
  • 15
  • 32
  • 40
Frip
  • 129
  • 1
  • 8
  • 1
    Looks like Visual Studio 2017 keeps local registry, so you have to change this file and not the global registry. I fixed problem with Attach Security Warning just editing this local registry file. Read this answer for more explanation: http://stackoverflow.com/a/41122603/692665 – Ceridan Mar 21 '17 at 10:06
  • Please don't edit the answer into the question. I have rolled back your edit and posted the answer as a Community Wiki post. – Robert Columbia Nov 02 '18 at 10:59

1 Answers1

0

You can do the following:

  1. First open RegEdit and load a private Hive in HKEY_USERS. Name it VS2017, for example.

    regedit

  2. In the load Hive, go to : Software > Microsoft > VisualStudio > 15.0_5f0953ca > Debugger.

  3. Create the new DWORD value : DisableAttachSecurityWarning, and set it to 1.

  4. Restart Visual Studio and test it.

KyleMit
  • 30,350
  • 66
  • 462
  • 664
Robert Columbia
  • 6,313
  • 15
  • 32
  • 40