what is base.dll for

  • Thread starter Thread starter Winshent
  • Start date Start date
W

Winshent

Ive only built a couple of ASP.NET sites and suddenly i find a base.dll
appear from nowwhere. It appeared after a create another page with the
same name as an existing page (under a diff directory)..

How can i remove base.dll
 
You don't want to remove it. What you really want is to understand it.

ASP.Net 2.0 is architected somewhat differently than ASP.Net 1.1. While you
can still use the 1.1 compilation model, ASP.Net 2.0 actually employs any
of several different ones, depending upon your choice (or lacking a choice,
it of course, makes it for you).

I'm not sure which compilation model you're using, but the original ASP.Net
1.1 compilation model compiled all of the CodeBehind classes into a single
assembly. It sounds like this is not the oned you're using. Another model
compiles each page into its own assembly. Since all of the assemblies (DLLs)
reside in the same location, and 2 assemblies cannot have the same name, it
sounds like Visual Studio is combining 2 page classes having the same name
into a single assembly called "base.dll." This assembly would contain both
pages.

You can read more about this here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/internals.asp

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 

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

Back
Top