How to build a ASP.net project in multi DLLs

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, al
I'm using VS2002 to create my web application, by default, VS2002 will build my project in a single dll (myWebApp.dll), but I hope each page correspond to it's own dll (page1.dll, page2.dll), how can I build a ASP.net project in multi DLLs? Should I build each .cs file alone in command line? that's unimaginable in a large project
Any comment is every appreciated
Daric
 
VS does not support more than 1 dll per project. you would have to create a
dll project for each page, and move the code behind file to that project.
you would still need a web project to contain all the aspx pages (though
asp.net builds these into seperate dlls).

not sure why you'd want this setup.

-- bruce (sqlwork.com)

Daric said:
Hi, all
I'm using VS2002 to create my web application, by default, VS2002 will
build my project in a single dll (myWebApp.dll), but I hope each page
correspond to it's own dll (page1.dll, page2.dll), how can I build a ASP.net
project in multi DLLs? Should I build each .cs file alone in command line?
that's unimaginable in a large project.
 
Thanks for your reply
I've moved the code behind files to the new dll projects in the same solution, the compiler will tell me that "The type or namespace name 'xxxxx' could not be found" , it seems that some interrelated class couldn't found each other over the projects although they are in a same solution. So, how to declare the class and namespace to let them interact between different projects
B/
Daric
 
Back
Top