我如何编译一个ASP.NET网站变成一个DLL文件? [英] How do I compile an ASP.NET website into a single DLL file?
问题描述
我终于完成了我的网站。我发表它,我对结果感到惊讶。虽然APP_ code编译成一个DLL文件,后面的每个页面的code编译成自己的DLL文件。我如何让这个是通过一个DLL文件?
I have finally finished my web site. I published it, and I was surprised at the results. Although the App_Code compiled into a single DLL file, every page's code behind compiled into its own DLL file. How do I make it so that it is one DLL file?
此外,是否有可能编译一切(亚音速,AJAX等)转换成同一个DLL文件?
Also, is it possible to compile everything (SubSonic, AJAX, etc.) into that same single DLL file?
推荐答案
您可能preFER使用Web应用程序项目样式的。
You might prefer to use the web application project style for that.
您可以使用<一个href=\"http://www.microsoft.com/downloads/details.aspx?FamilyID=22914587-B4AD-4EAE-87CF-B14AE6A939B0&displaylang=en\">ILMerge到组件合并成一个。
You can use ILMerge to merge assemblies into one.
这篇关于我如何编译一个ASP.NET网站变成一个DLL文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!