Visual Studio 2008中:从解决方案创建单个DLL有许多项目有许多、解决方案、项目、Studio

2023-09-02 10:40:17 作者:孤独

我在Visual Studio 2008开发一个ASP.NET Web应用程序,3个不同的项目(一个用于用户界面,中的 BO 和第三的 DAL )。

I have an ASP.NET web application developed in Visual Studio 2008, composed of 3 different projects (one for UI, one of BO and the third for DAL).

我能在其中包含所有3个单个汇编文件?现在,它的产生3 DLL的每一个解决方案中的每个项目。

How can I generate a single assembly file which holds all 3? Now it's generating 3 DLLS each for each project in the solution.

推荐答案

我不知道是否有确实在VS2008此功能。但你肯定能VS外面做到这一点。

I do not know if there's indeed this feature in VS2008. But you certainly can do it outside VS.

例如: 合并使用ILMerge .NET程序集

E.g.: Merging .NET assemblies using ILMerge