提交 91824c0c 编写于 作者: J Jason Malinowski

Ensure we set _solutionLoaded when the solution is loaded

I totally forgot to do this, but in practice it was hard to observe
because of https://github.com/dotnet/roslyn/issues/35372. That bug
meant that a later project creation would end up re-running the
subscription to the IVsSolution, which also checked the UIContext
and that implicitly set _solutionLoaded. Once that bug was fixed
this problem was now observable.
上级 1d0d7cd9
......@@ -193,6 +193,7 @@ int IVsSolutionEvents.OnBeforeCloseSolution(object pUnkReserved)
int IVsSolutionLoadEvents.OnAfterBackgroundSolutionLoadComplete()
{
_scopeCreator._solutionLoaded = true;
_scopeCreator.StopTrackingAllProjects();
return VSConstants.S_OK;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册