如何在一个 Visual Studio IDE 中打开两个解决方案? [英] How to open two Solution in one Visual Studio IDE?

查看:80
本文介绍了如何在一个 Visual Studio IDE 中打开两个解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究两种不同的解决方案,例如 Solution1Solution2.由于这两个解决方案相互依赖,所以我在开发时必须打开两个单独的 Visual Studio.

I am working on two different solutions, say, Solution1 and Solution2. As these two solutions are dependent upon each other, I have to open two separate Visual Studio while developing.

在这些 Visual Studio 之间切换真的很困难.我无法将这两个解决方案合二为一,因为 Solution1 正在被其他项目使用,并且都是源代码管理的一部分.

It is really difficult to switch between these Visual Studio. I can't merge these two solutions into one as Solution1 is being used by other projects and all are part of Source Control.

只是想知道,我可以在同一个 Visual Studio IDE 中打开这两个解决方案吗?我搜索了很多,但没有运气.对现有 VS AddIn 或如何开发它的任何建议也会有所帮助.

Just wondering, can I open both solutions in the same Visual Studio IDE? I searched a lot but no luck. Any suggestions on existing VS AddIn or how to develop it would also be helpful.

  • Visual Studio 版本 - 2012 Ultimate
  • 源代码管理 - TFS

推荐答案

创建第三个解决方案 C,而不是包含来自 A 和 B 的项目:您可以将 C 作为本地文件保留,即您不在版本控制中检查它,如果这会打扰团队.

Create a third Solution C than includes project from both A and B: you can keep C as a local file i.e. you don't check it in version control if this can disturb the team.

否则,您可以打开两个 Visual Studio 实例并在需要时切换:VS 足够智能以感知文件系统更改,但您必须在切换前小心保存.

Else you can open two instances of Visual Studio and switch at need: VS is smart enough to sense file system changes, but you have to be careful in saving before switching.

这篇关于如何在一个 Visual Studio IDE 中打开两个解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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