提交 fa93f47c 编写于 作者: A Andrew Hall (METAL)

Ignore InvalidOperationException from GetInstalledPackages

上级 8926f8c8
......@@ -502,6 +502,13 @@ private void ProcessProjectChange(Solution solution, ProjectId projectId)
// Nuget may throw an ArgumentException when there is something about the project
// they do not like/support.
}
catch (InvalidOperationException)
{
// NuGet throws an InvalidOperationException if details
// for the project fail to load. We don't need to report
// these, and can assume that this will work on a future
// project change
}
catch (Exception e) when (FatalError.ReportWithoutCrash(e))
{
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册