Hello Friends,
When i publish my web-application that is in VS2008 ,i find multiple dll in the bin folder that are mainly of all the aspx.cs pages ,now my question is how can i get rid of multiple dll and can get single dll ,of the entire application.
NOTE : i had very few class file, as i had all the coding the code behind of the respective aspx page.
I had refer to this link and tried but with no success. :( [ http://forums.asp.net/t/1071783.aspx/1]
can any one pls give me step by step instruction to publish the web-application with single dll as iam new developer..
Thanks in advance.
RanjithKumar chiguruvadaPosted Sep 14, 2012, 7:13 AM
Hi Shaikh,
I think this is useful to u.
To accomplish this you will have to covert your project into a Web Application Project .
The process of converting is not that hard, but you will need to move everything out of the app_code folder, as WAP (Web Application Projects) projects do not have code inside app_code.
Once you do this, everything inside your project is compiled into a single DLL file, any external assemblies are still contained in their own DLL files though, but there are options around that as well.
husein ShaikhPosted Sep 22, 2012, 2:26 AM
as u suggested it works...
Thanks for the reply.
husein ShaikhPosted Sep 14, 2012, 7:55 AM
but i have only 1class file in the app_code were else i had coded every thing in the code behind of the repective aspx page.
so the problem is iam getting multiple dll i:e 1dll per aspx page.... so is their any thing i can do so that all those aspx pages dll can merge into single dll while publishing the web site ...
I have altogether ariund 58 pages in my project and i can see this many no. of dll after publishing in the Bin folder..
Please help me out friend ...