如何组织复杂的项目结构 [英] How to organize complicated projects structure

查看:101
本文介绍了如何组织复杂的项目结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

我需要一些关于TFS中项目oranization的新想法。我们的项目包括3个基本dll的VS项目,另外我们为所有客户提供了许多版本的网站(aspx)(我们正在创建通用的sulotuiin,但需要时间),这些
站点应该有参考到基本的dll。所以到目前为止我们在TFS中有以下结构:有基础项目(包括所有3个基本VS项目的解决方案)和每个客户端版本的单独项目。这种方法不方便,因为
我们必须手动添加从站点到dll的引用,并且基础和版本之间没有明显的联系。 

I need some fresh ideas about project oranization in TFS. Our project consists of 3 VS projects which are basic dlls, plus we have many many versions of web site (aspx) for all our clients (we are creating universal sulotuiin, but it takes time) and these sites should have references to the basic dlls. So by now we have following structure in TFS: there is project for basis (solution that includes all 3 basic VS projects) and separate project for each client version. This approach is not convenient, because we have to add manually references from site to dlls and there is no obvious connection between basis and versions. 

你有什么想法吗?如何在一个地方设置所有这些项目,但是为每个客户分开?

Do you have any ideas how to set up all these projects in one place, but separated for each client?

感谢您阅读本文。

推荐答案

嗨Mashuka,

Hi Mashuka,

感谢您的帖子。

>>我们必须手动添加从站点到dll的引用

>>we have to add manually references from site to dlls

在您的情况下,创建新项目时,您必须手动添加  ;许多.dll文件作为参考。您可以使用将所有必需的.dll文件添加为项目模板的项目。在创建新项目时,您可以直接使用此项目
模板,而无需再次手动添加.dll文件。请参考以下步骤:

In your case, when creating a new project, you must manually add many .dll files as references. You could use a project which added all the required .dll files as a project template. When creating the new project, you could directly use this project template and don't need to manually add the .dll files again. Please refer to the following steps:


  1. 创建项目。
  2. 添加所需的任何文件,并删除文件不需要。
  3. 根据需要修改文件。
  4. 在适当的位置添加参数替换。
  5. 创建模板。

有关更多详细信息和步骤,请参阅此
文章

For more detail information and steps, please refer to this article.

最好的问候,

Shrek Li

Best Regards,
Shrek Li


这篇关于如何组织复杂的项目结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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