“C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets (1200, 9): warning: The referenced project 'Relative path to the referenced project from the current directory’ does not exist.”
A build fails with the error message above when the following conditions are met.
1. You have a solution with multiple projects where there exists dependency relationships among them.
2. The sum of the following two path length is exactly added up to 259 characters (= MAX_PATH – 1)
This is a known issue in Visual Studio 2010.
If you would like to know more about Path.GetFullPath method, please refer to the document below.
.NET Framework Class Library
1) The path of a referencing project’s directory.
2) The relative path to a referenced project from the current directory (= a referencing project’s directory).
Article ID: 2516078 - Last Review: Mar 10, 2011 - Revision: 1