具有不同设置的 Visual Studio 实例 [英] Instances of Visual Studio with different settings

查看:21
本文介绍了具有不同设置的 Visual Studio 实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I want to run two instances of Visual studio having different settings, one having bigger fonts.

我该怎么做?

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

When I run the second instance of vs with

devenv.exe /ResetSettings other.vssettings

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

that settings affects all running instances of Visual Studio (they seem to poll for changed settings).

推荐答案

您可以使用 不同的根后缀" 这将从不同的注册表树和磁盘文件夹中读取所有设置:

You can start Visual Studio with a different "Root Suffix" this will read all the settings from a different registry tree and folder from disk:

devenv.exe /RootSuffix OtherInstanceName

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

This will give you a new "vanilla" configured Visual Studio instance. Any extensions need to be installed into that instance as well. To install Resharper, use the following steps:

要安装到实验实例,请运行 ReSharper 统一安装程序,选择选项"按钮,然后输入实例名称.在开始安装之前,实验实例不需要存在https://www.jetbrains.com/help/resharper/sdk/Extensions/Deployment/LocalInstallation/ExperimentalInstance.html

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

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

In Visual Studio 2017 this became a bit easier. There you can create completely separate instances from the installer.

这篇关于具有不同设置的 Visual Studio 实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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