Reference Required Error

I have a VB.NET project (call it project A) that references another project (call it project B). Project B in turn references a third project (call it project C).

When working on project A in Visual Studio I only need to reference project B. When I compile it through Visual Studio everything works fine.

However, if I try to compile project A using MSBuild at the command line I get an error that project A does not contain a reference to project C.

Obviosuly there is something different between the way Visual Studio is triggering the compilation and the way I am at the command line. Does anyone know what those differences are and how to resolve this (other than the obiovus answer of adding a reference in project A to project C).

Thanks!

[775 byte] By [DanD] at [2007-12-24]

Visual Studio

Site Classified