Single assembly from several projects

In a .net application that includes several projects in one solution, I have a project with a namespace installed in Company.Product.UI and another with Company.Product.UI.WebPages. My problem is that two DLLs are the result of creating two projects. How can I create a separate dll and keep the existing solution structure. I am using Visual Studio 2008 and C #.

+5
source share
3 answers

You need to either combine two projects into one project, or use a tool such as ILMerge to combine the resulting assemblies into one assembly.

ILMerge - , .NET . & Microsoft.NET Framework Developer Center.

ILMerge MSBuild, ilmerge-tasks:

ILMerge ? ILMerge , ILMerge MSBuild, NAnt. , ILMerge DLL ILMerge.exe .

+11

, , . , , . XML , , , , , , .

, , , , , , , .

+1

, . DLL, . , . " ". cs . , " " "" ( , ). . dll.

. A B, aa dll C. C. A B. , A cs X.cs B Y.cs. A . Project A X.cs. "" . . B. , DLL bin.

0

All Articles