"Could not load file or assembly 'XXX.YYY' or one of its dependencies. The system cannot find the file specified."
Posted
by
Niall Collins
on Stack Overflow
See other posts from Stack Overflow
or by Niall Collins
Published on 2011-01-01T23:05:28Z
Indexed on
2011/01/01
23:54 UTC
Read the original article
Hit count: 371
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??
© Stack Overflow or respective owner