Search code examples
asp.nettfsmsbuildtfsbuild

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?


Solution

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