一个DLL,多个项目? [英] one DLL, multiple projects?
本文介绍了一个DLL,多个项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以强制我的C#解决方案文件制作包含解决方案中所有项目的单个DLL,而不是每个项目一个DLL? 这个伙计说这是不可能的,但我注意到这是一个2004.我使用的是Visual Studio 2008 Team System,它是一个C#应用程序。
Is it possible to force my C# solution file to make a single DLL containing all the projects in the solution, instead of one DLL per project? This dude says that isn't possible but I notice that's a post from 2004. I'm using Visual Studio 2008 Team System and it's a C# application.
推荐答案
每个项目将编译成一个单独的库或应用程序。
No. Each project will compile into a separate library or application.
然而,您可以将这些合并到一个DLL或EXE文件中,使用 ILMerge 后汇编。
You can, however, merge these together into a single DLL or EXE file using ILMerge post compilation.
这篇关于一个DLL,多个项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文