missing reference error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm getting the following error:

'<name>' is declared in project '<projectname1>', which is not referenced by
project '<projectname2>'

It just started showing up the last time I did a build. The reference is
there in the project but for some reason, the IDE doesn't seem to recognize
it.
 
Hi Nick,

I had faced this in VB.NET, but haven't found out the actual cause.

In my case, <Project A> referenced <DLL A>, and <Project B> referenced
<Project A>. The compiler threw the error you had mentioned.

The solution I found was to add a reference to <DLL A> in <Project B> as
well (even if there were no direct reference).

Could you please try whether this works in your case?
 
Back
Top