I mean when I publish my web application asp.net publisher generate one assembly why ? I like to have different assembly. is it possible ?
-
1Generally you will have one assembly for each project in your solution. If your solution only includes one project, then you will only have a single assembly. If you want to have multiple assemblies, then architect your solution so that it spans multiple projects. – Jason Nov 09 '11 at 17:52
3 Answers
While publishing, Asp.net compiles all your code files into a single assembly and uploads it with other UI files i.e .aspx or .cshtml. It does so to make your application precomplied for faster performance. Every .net project has a single assembly. If you want to factor your assembly then make different projects according to your liking for getting different dlls.
For further information you visit this video link Deploying A Web Application Using Visual Studio 2010 Web Deployment Tool

- 12,966
- 24
- 73
- 104
If it is web application project you can have multiple class libraries and those will be complied in to several assemblies.

- 62,401
- 13
- 102
- 153
That will require a good amount of work, so I hope that you have a good reason for it, but here is a guide to get you started:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;307467

- 45,496
- 8
- 73
- 110