Visual Studio 2017 中的单一文件生成器更改 [英] SIngle-file generator changes in Visual Studio 2017

查看:23
本文介绍了Visual Studio 2017 中的单一文件生成器更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在 Visual Studio 2017 中查找有关单文件生成器更改(尤其是如何注册)的信息.任何帮助将不胜感激.

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

推荐答案

我认为注册系统几乎相同.您可以在此处

I think the registration system is pretty much the same. You can find more details here

在 Visual Studio 2017 中,注册表设置存储在私有注册表文件中.

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

这样可以在同一台机器上并行安装多个 Visual Studio.

This enables multiple installations of Visual Studio side by side, on the same machine.

但是,这些条目在全局注册表文件中不再可用.

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

以下是在regedit中打开此类文件的方法:

Here is how to open such a file in regedit:

  • 关闭 Visual Studio
  • 启动 Regedit.exe
  • 选择HKEY_LOCAL_MACHINE节点
  • 从主菜单中,选择 File -> Load Hive... 并选择私有注册表文件.该文件存储在本地应用数据中

  • Close Visual Studio
  • Start Regedit.exe
  • Select the HKEY_LOCAL_MACHINE node
  • From the main menu, select File -> Load Hive... and select the private registry file. That file is stored in the Local App Data

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

其中 对应您想要使用的配置单元

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

这篇关于Visual Studio 2017 中的单一文件生成器更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆