When I wanted to add a project reference in Microsoft Visual Studio 2010, I was getting a “This dependency cannot be added because it will create a circular dependency” error message, but I was 100% sure this reference would not cause a circular dependency.




I solved this problem by unloading the project in Microsoft Visual Studio, opened the *.csproj file in notepad.exe and added the project reference manually and reloaded the project.

<ProjectReference Include="..\MyProject2\MyProject2.csproj">

The GUID can be found by opening the MyTest2.csproj and searching for the <ProjectGuid> tag.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.