在Visual Studio 2017中打开网站解决方案时出现错误弹出窗口

时间:2018-02-17 14:10:08

标签: visual-studio visual-studio-2017 comexception

在Visual Studio 2017中打开网站解决方案时,我收到以下错误

 System.Runtime.InteropServices.COMException (0x80041FEC): Exception from HRESULT: 0x80041FEC at Microsoft.Internal.VisualStudio.Shell.Interop.IVsSolutionBuildOrderPrivate.GetBuildOrderList(Boolean fForceRecalculation, UInt32 cProjects, VsProjectBuildOrder[] pBuildOrder, UInt32& pValidationId) at Microsoft.VisualStudio.ErrorListPkg.Shims.TaskListBase.RecalculateProjectRank() at Microsoft.VisualStudio.ErrorListPkg.Shims.TaskListBase.OnEntriesChanged(Object sender, EntriesChangedEventArgs e) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

1 个答案:

答案 0 :(得分:0)

这对我有用:

https://medium.com/@joni2nja/the-case-of-visual-studio-2017-version-15-8-and-invalid-docker-compose-file-92ace224eea1

基本上,我有一个用于docker的文件,该文件引用了不存在的文件。一旦我修复了该引用,它就会停止生成此弹出窗口。

现在,它可能对您来说不是docker,这与您完全不一样的地方是,您所引用的文件a不存在。不幸的是,日志中没有任何内容说明文件引用是什么。