提交 d64a0858 编写于 作者: K Kevin Pilch-Bisson

Handle the case where we have a p2p ref that we don't have project info for

上级 8e071a91
......@@ -158,7 +158,12 @@ private void OutputToOutputWindow(string message)
return null;
}
var projectInfo = allProjectInfos[projectFilename];
DeferredProjectInformation projectInfo;
if (!allProjectInfos.TryGetValue(projectFilename, out projectInfo))
{
return null;
}
var commandLineParser = _workspace.Services.GetLanguageServices(languageName).GetService<ICommandLineParserService>();
var projectDirectory = Path.GetDirectoryName(projectFilename);
var commandLineArguments = commandLineParser.Parse(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册