"Could not load file or assembly 'XXX.YYY' or one of its dependencies. The system cannot find the file specified."
- by Niall Collins
I have a .net visual studio solution with a number of projects (class libraries and a web application).
I did some refractoring which moved files between projects, created new projects, deleted ones not being used and renamed some existing projects.
The solution builds without an issue but when I run the web application, the following exception occurs:
"Could not load file or assembly 'XXX.YYY' or one of its dependencies. The system cannot find the file specified."
The project called XXX.YYY which was deleted in the refractoring outputed a dll called XXX.YYY. But this isnt used anywhere in the application. I deleted the web applications obj directory and bin folder and rebuild but it still occurs.
Anyone have any ideas when this might be occurring, any tips??