提交 9b8af232 编写于 作者: H Heejae Chang

don't convert metadata reference to project reference. this workspace...

don't convert metadata reference to project reference. this workspace replicates workspace in host (VS), it is a bug that it tried to convert metadata reference to project reference.

also, this sometimes caused VS to crash since if a user had circular reference by metadata reference, by converting metadata reference to project reference, we are introducing circular p2p reference in solution, and workspace crash.
上级 f16504b0
......@@ -57,7 +57,6 @@ public Solution AddSolution(SolutionInfo solutionInfo)
lock (_gate)
{
this.OnSolutionAdded(solutionInfo);
this.UpdateReferencesAfterAdd();
return this.CurrentSolution;
}
......@@ -81,8 +80,6 @@ public Solution UpdateSolution(Solution solution)
var newSolution = this.SetCurrentSolution(solution);
this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.SolutionChanged, oldSolution, newSolution);
this.UpdateReferencesAfterAdd();
return this.CurrentSolution;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册