Help!! I have one .cs file in the App_Code directory (root level) in order to get the correct template for the requested URL (it is linked to our own Content Management database). Initially, it worked fine - I could make changes to it, and they were picked up by the web application in order. Then something happened (I donβt know what), and now, no matter what changes I make, they are not recognized. Even if I delete the entire App_Code directory, it does not matter - I still seem to be collecting an earlier (cached) version of what was in the App_Code directory. The code in the .cs file is below:
using System; using Custom.CMS.Facade; using Custom.CMS.BO; public class CMHttpModule : IHttpModule { code here... }
The same problem occurs even after I copied the website to our live server.
What I do not understand is that if I present a biased error in the .cs code, I still get a compilation error, and when I successfully compile in C: \ WINDOWS \ Microsoft, the App_Code.xxxx.dll application is created. NET \ Framework \ v2.0.50727 \ Temporary ASP.NET Files
So, which version of App_Code is my web app that is really picking up? How do I get him to choose the "right"?
FYI I am using C #, the web server of Visual Web Developer Express 2008 and IIS 6
Any help would be greatly appreciated.
Patrick
source share