Changes to the SIngle File Generator in Visual Studio 2017

I am trying to find information about changes to a single file generator (especially how to register) in Visual Studio 2017. Any help would be really appreciated.

+6
source share
1 answer

I think the registration system is almost the same. You can find more information here.

In Visual Studio 2017, registry settings are stored in private registry files.

This allows multiple installations of Visual Studio next to each other on the same computer.

However, these entries are no longer available in the global registry file.

Here's how to open such a file in regedit:

  • Close Visual Studio
  • Run Regedit.exe
  • Select HKEY_LOCAL_MACHINE node
  • From the main menu, select File → Load Hive... and select a private registry file. This file is stored in the local application data.

    %localappdata%\Microsoft\VisualStudio\<config>\privateregistry.bin

    where <config> matches the configuration hive that you would like to use

  • You will be prompted to specify a name that represents the name that will be displayed under (e.g. IsolatedHive )
  • Now you can view the registry under the created bush
  • Before starting Visual Studio you need to unload it: from the main menu File → Unload Hive before trying to start VS (otherwise regedit keeps the file locked and Visual Studio does not start)
+8
source

Source: https://habr.com/ru/post/1015570/


All Articles