posted on Tuesday, November 07, 2006 5:48 PM by Obi

Method Invisible even after adding reference to the class library

It drew me crazy for several minutes trying to figure out why I couldn't access a method from a web UI that I wrote in the Business Access Layer class.

My first guess was that maybe I forgot to compile the project class. WRONG!

Second guess was that maybe I should re-add a reference after compiling the above, WRONG!

Third guess was that maybe the MSIL code (VB.Net to C# refernece got out of wack), WRONG!

When nothing seemed to work, I noticed that the ASP.NET development server was still running in the background.  Well, well, this was my problem...

I immediately shut down the asp.net development server and voila! I could now see the newly created method just fine through intellisense.

Just thought, I'd share my experience with you all.

 

Obi Oberoi

 

Comments