Classes outside App_Code folder in website application (VS2008)
- From: LenaMsdn08 <LenaMsdn08@xxxxxxxxxxxxxxxx>
- Date: Wed, 13 May 2009 17:45:02 -0700
Hi all,
This is probably a silly newbie question, but I can't find the answer and am
on a very tight deadline.
I am working on a very small part of a huge website that is using the
website model. I'd like to put some functionality in a separate class, but I
need to place the class file in the same folder as the page that uses it, NOT
in the App_Code folder. (The main reason for this is that any change made
under App_Code causes most of the site to recompile, which takes ~ 4 minutes
each time. It's *that* big. For the same reason, converting to a Web
Application is not an option.)
How can I place the class files in the same folder as the pages that use it,
and reference the class from the page? I keep getting compile errors "The
type or namespace name 'xyz' could not be found (are you missing a using
directive or an assembly reference?)".
It will find the class if I place it in the codefile for the page, but I
would like to keep it in a separate file so I can reference it from several
pages.
If you would, please spell out as much detail as possible, even if it seems
obvious.
.
- Prev by Date: Is the DAL dead?
- Next by Date: Re: Is the DAL dead?
- Previous by thread: Is the DAL dead?
- Next by thread: Need to click twice to fire an Event
- Index(es):
Relevant Pages
|