Sometimes it’s best to try the simplest things first. In this case, I thought I had gone through the most basic troubleshooting steps, but about an hour ago, I decided to try something really off the wall and change the line of code that creates the object of the type that couldn’t be found.
First, let me say that I was / am properly importing the namespace in which the “unknown” class lives. This has not changed for weeks.
Imports
The original line of code that was raising the compile error was:
Private _errorMessages as IErrorMessageManager = new ErrorMessageManager()
I changed it to:
Private _errorMessages as IErrorMessageManager = new
Everything compiles fine now. Just to make sure, I went through all the steps I outlined earlier (removing temp files, restarting IIS, getting latest, etc.). I also switched the line of code back to the original and recompiled just to make sure the error still occurred. It did, so I put my new code back in.
Anyone care to explain what the hell was wrong with the original line of code considering my Import statement was/is correct?
Can I get back to billing my hours now?