title: Visual Studio 2017 crashes when opening certain solution
body: <p>I have a solution that works fine in VS2015 that I can't open with the new version of Visual Studio 2017 (15.0.0+26228.12).</p>
  
  <p>This seems to be the problem according to the Windows "Event Viewer": <em>The project already transitively references the target project.</em></p>
  
  <p>Here the full stacktrace:</p>
  
  <pre><code>StreamJsonRpc.RemoteInvocationException: The project already transitively references the target project.
     bei Microsoft.CodeAnalysis.SolutionState.CheckNotContainsTransitiveReference(ProjectId fromProjectId, ProjectId toProjectId)
     bei Microsoft.CodeAnalysis.SolutionState.AddProjectReference(ProjectId projectId, ProjectReference projectReference)
     bei Microsoft.CodeAnalysis.Solution.AddProjectReference(ProjectId projectId, ProjectReference projectReference)
     bei Microsoft.CodeAnalysis.Project.AddProjectReference(ProjectReference projectReference)
     bei Microsoft.CodeAnalysis.Workspace.UpdateReferencesAfterAdd(Solution solution)
     bei Microsoft.CodeAnalysis.Workspace.UpdateReferencesAfterAdd()
     bei Microsoft.CodeAnalysis.Remote.RemoteWorkspace.AddSolution(SolutionInfo solutionInfo)
     bei Microsoft.CodeAnalysis.Remote.SolutionService.&lt;UpdatePrimaryWorkspace_NoLockAsync&gt;d__11.MoveNext()
  </code></pre>
  
  <p>The solution is quite complex and changing it with a text editor to find the project that causes the issue feels like searching for a needle in a haystack.</p>
  
  <p>Does somebody know this error and could point me in the right direction? Maybe I have to look at a certain part in my solution to find the error?</p>