Visual Studio:如何使一个解决方案依赖于另一个? [英] Visual Studio: How to make one solution depend on another?

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

问题描述

是否可以使VS中的解决方案依赖于(即包括)整个其他解决方案?我已经看到一些关于解决方案文件夹的东西,但这似乎并不是一回事...?谢谢! (BTW,我使用VS 2008)

Is it possible to make a solution in VS depend on (i.e. include) an entire other solution? I've seen some stuff about "Solution Folders", but these don't seem to be the same thing....? Thanks! (BTW, I'm using VS 2008)

推荐答案

不是真的。您必须执行以下操作之一:

Not really. You'd have to do one of the following:


  • 创建一个以正确顺序构建解决方案的构建脚本。

  • 预构建解决方案A,并且仅在解决方案B中引用其中构建的二进制输出。

  • 从两个解决方案中构建包含所有项目的第三个解决方案。

前两个项目是最常见的,我个人更喜欢第二个。

The first two items are the most common, where I personally prefer the second.

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

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