ASP Net - Namespaces in a dll file
I have multiple class (.cs file) but all have the same namespace name.
I want to compile all cs file under one name.dll.
Can any one help me.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabakar SamiyappanPosted Nov 3, 2006, 9:29 AM
Yes,You can compile all the 60 class in to a single dll.add all the class in a project and just comile it as class librery .All the calss will automatically come under the single name space (if you have one)in single Dll.
mPosted Nov 2, 2006, 1:23 PM
aRcadehUnterPosted Oct 30, 2006, 5:41 AM
I didn't get your question...
If you mean to compile multiple cs files into a single .dll file then this will work fine
csc /t:library /out:A.dll B.cs C.cs D.cs E.cs (and so on...)
where A is your dll file and B,C,D,E are your class files