simon831 simon831 - 21 days ago 11
ASP.NET (C#) Question

Could not get dependencies for project reference

I have a C# solution with a website project and a C# library.
When compiling the solution, the website gives the message:

Could not get dependencies for project reference 'MyLibrary'.

This does not stop the wbsite compiling and running until I try and build it with a TFS build, when this error message fails the build.

What does this mean and how can I get round it?

Answer

Open the Website proj file in notepad and check the reference etc... can help