0

Every documentation from Visual Studio (2013, 15 17) says the Visual Studio Experimental Instance will have its own register entries in the Registry Editor under xxExp and xxExp_Config Keys.

I can't find those Keys/Folders under HKEY_CURRENT_USER/SOFTWARE/Microsot/Visual Studio, but i know they exist as i can create/edit them using WritableSettingsStore.

Can someone tell me where they are?

Icaroto
  • 142
  • 10

2 Answers2

1

Visual Studio now uses a private registry, which can be found at

%localappdata%\Microsoft\VisualStudio\15.0_INSTANCE_IDExp\privateregistry.bin

(Replace INSTANCE_ID by the VS instance ID)

It can be loaded in regedit.exe, but it's not possible to edit the keys from there I think.

José Pedro
  • 1,097
  • 3
  • 14
  • 24
  • 1
    Yes, you can change keys and values: https://stackoverflow.com/questions/42916299/access-visual-studio-2017s-private-registry-hive – Simon Mourier Mar 20 '18 at 07:21
0

You should read through the following topic:

Changes in Visual Studio 2017 extensibility

In particular the section that talks about the Visual Studio registry.

As Jose mentioned, I've already posted instructions on using regedit to read/edit this privateregistry.bin at:

Access Visual Studio 2017's private registry hive

The above is also documented in the help topic:

Tools for detecting and managing Visual Studio instances

And an alternative to using regedit, would be to use the new vsregedit.exe utility, which is installed with VS, but I could only find mentioned in the documentation at:

Controlling notifications in the Visual Studio IDE

You can learn more about vsregedit.exe, by running it from your developer command prompt with the /? switch.

Sincerely, Ed Dore Microsoft Developer Support

Ed Dore
  • 2,013
  • 1
  • 10
  • 8