ASP.NET: Putting App_Code Folder in Sub Directory

My website runs on old classic ASP code.  I need an ASP.NET/VB application to run in only one sub directory.  I put a web.config file in the sub directory and now ASP.NET/VB code works in that directory.  My application requires a "library.vb" file to be inside the "App_Code" directory.  Normally this would go inside the website's root directory but I only want it to apply to this sub directory.  Is there something I could put in the web.config file so that it would look in the a sub-sub directory?
LVL 16
Who is Participating?
sammySeltzerConnect With a Mentor Commented:
I think you can add a location setting in your web.config file.

<location path="/thesubfolder">

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.