The purpose of the App_Code directory is for ASP.NET to directly compile
your website (singular) classes together with your ASPX pages for that
website (singular). It is to share classes among your website.
What you want to do requires that you build a common DLL and either deposit
it into your bin directory for each website or put it in the GAC.
This is the purpose of shared code. The question is if you are sharing
within the right context.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."
"Bob Peek" <Bo*****@discus sions.microsoft .com> wrote in message
news:F9******** *************** ***********@mic rosoft.com...
I would like to share code between several web sites that exist as virtual
directories under a single site. It appears that I have to create an
app_code directory under each virtual root in order to share classes
accross
the code in the different virtual directories.
This seems to defeat the purpose of shared code.
Is there any way to specify to IIS where the app_code directory is for a
virtual site?
Thanks for the help