Home All Groups Group Topic Archive Search About

CS0006: Metadata file <...> not found.

Author
19 Jan 2006 10:16 PM
Mark
Question:
When I attempt to build several projects in my solution, I receive the
following fatal error.

error CS0006: Metadata file '<some full path to one of my dlls' could not be
found.

This is happening now in 14 of 34 projects, and I cannot figure out what the
cause could be. Could anyone offer any suggestions? I've tried setting copy
local to true on all of "my" references, ones that I created. This is a
desktop application, not a web application so there are no web references. I
have never seen this sort of behavior in any of my previous solutions, and I
have had a lot of solutions that held many more projects.

Author
20 Jan 2006 2:58 PM
Daniel O'Connell [C# MVP]
"Mark" <mark.bel***@securepassage.com> wrote in message
news:u0R9LYUHGHA.3896@TK2MSFTNGP15.phx.gbl...
> Question:
> When I attempt to build several projects in my solution, I receive the
> following fatal error.
>
> error CS0006: Metadata file '<some full path to one of my dlls' could not
> be found.
>

I've seen that happen when the project that builds the DLL fails to build,
but the errors the compiler generatoes about the failed build get buried in
errors from other projects, often times the error you are getting here.
Check and ensure that the project that builds the dll builds on its own.

If that fails, do a full rebuild.
Author
1 Feb 2006 9:19 AM
Rob Bertora
Hi,

I just received this error (using VS2005) after trying to compile using
shortcut keys : CRTL-B. I had just finsihed performing a bulk find
replace code across many pages in a single project.

Quick solution was to Build->Rebuild Website.
Rob.






*** Sent via Developersdex http://www.developersdex.com ***

AddThis Social Bookmark Button