具有不同设置的 Visual Studio 实例

2024-05-06

我想运行两个具有不同设置的 Visual Studio 实例,其中一个具有更大的字体。

我怎么做?

当我运行 vs 的第二个实例时

devenv.exe /ResetSettings other.vssettings

该设置会影响 Visual Studio 的所有正在运行的实例(它们似乎会轮询更改的设置)。


您可以使用以下命令启动 Visual Studio不同的“根后缀” https://msdn.microsoft.com/en-us/library/bb166560.aspx这将从磁盘上的不同注册表树和文件夹中读取所有设置:

devenv.exe /RootSuffix OtherInstanceName

这将为您提供一个新的“vanilla”配置的 Visual Studio 实例。任何扩展也需要安装到该实例中。要安装 Resharper,请使用以下步骤:

To install to an experimental instance, run the ReSharper unified installer, select the Options button, and enter the name of the instance. The experimental instance does not need to exist before starting the install https://www.jetbrains.com/help/resharper/sdk/Extensions/Deployment/LocalInstallation/ExperimentalInstance.html https://www.jetbrains.com/help/resharper/sdk/Extensions/Deployment/LocalInstallation/ExperimentalInstance.html

在 Visual Studio 2017 中,这变得更容易一些。在那里您可以创建与安装程序完全独立的实例。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

具有不同设置的 Visual Studio 实例 的相关文章

随机推荐