How to build a ASP.net project in multi DLLs

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
 
B

bruce barker

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top