Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio Community 2019 16.11.2 freezes for anything using WebSharper.UI.Templating #224

Closed
mrtank opened this issue Sep 9, 2021 · 2 comments

Comments

@mrtank
Copy link
Member

mrtank commented Sep 9, 2021

Extracted errorlogs from VS 2019 Preview from running devenv.exe with /log argument:

   <entry>
    <record>51</record>
    <time>2021/09/09 09:35:42.633</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Loading UI library</description>
    <guid>{2FFE45C4-5C73-493C-B187-F2E955FF875E}</guid>
    <hr>800a006f</hr>
    <errorinfo>Cannot find the requested resource: 'Menus.ctmenu'.</errorinfo>
  </entry>
  <entry>
    <record>52</record>
    <time>2021/09/09 09:35:42.633</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Error loading UI library for package Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptPackage, Microsoft.VisualStudio.LanguageServices.TypeScript, Version=16.0.0.0, Culture=neutral. HrLoadNativeUILibrary failed with 0x800a006f.</description>
  </entry>
  <entry>
    <record>54</record>
    <time>2021/09/09 09:35:42.642</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Failed to find CTMENU resource &apos;#1000&apos; in loaded UI library.</description>
  </entry>
  <entry>
    <record>55</record>
    <time>2021/09/09 09:35:42.650</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Loading UI library</description>
    <guid>{C78CA057-CC29-421F-AD6D-3B0943DEBDFC}</guid>
    <hr>800a006f</hr>
    <errorinfo>Cannot find the requested resource: '1'.</errorinfo>
  </entry>
  <entry>
    <record>56</record>
    <time>2021/09/09 09:35:42.650</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Error loading UI library for package Windows Forms Remote Designer Hosting Package. HrLoadNativeUILibrary failed with 0x800a006f.</description>
  </entry>
  <entry>
    <record>57</record>
    <time>2021/09/09 09:35:42.671</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Loading UI library</description>
    <guid>{2EF1EC52-C8BF-4FE0-8ECE-BA9C0D5D1603}</guid>
    <hr>800a006f</hr>
    <errorinfo>Cannot find the requested resource: 'VSMenus.ctmenu'.</errorinfo>
  </entry>
  <entry>
    <record>58</record>
    <time>2021/09/09 09:35:42.671</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Error loading UI library for package XamlLanguagePackage. HrLoadNativeUILibrary failed with 0x800a006f.</description>
  </entry>
  <entry>
    <record>59</record>
    <time>2021/09/09 09:35:42.727</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Loading UI library</description>
    <guid>{71054795-27FD-4816-9AEA-667FE14EDD2A}</guid>
    <hr>800a006f</hr>
    <errorinfo>Cannot find the requested resource: 'DialogCommandPackage.ctmenu'.</errorinfo>
  </entry>
  <entry>
    <record>60</record>
    <time>2021/09/09 09:35:42.727</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Error loading UI library for package New Project Dialog. HrLoadNativeUILibrary failed with 0x800a006f.</description>
  </entry>
  <entry>
    <record>296</record>
    <time>2021/09/09 09:35:44.118</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.VisualStudio.VC.RecommendationProvider, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. A rendszer nem tal&#x00E1;lja a megadott f&#x00E1;jlt.</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PREVIEW\COMMON7\IDE\EXTENSIONS\MICROSOFT\INTELLICODE\IntelliCodeCpp.dll</path>
  </entry>
  <entry>
    <record>497</record>
    <time>2021/09/09 09:35:44.176</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.VisualStudio.LanguageServer.Protocol, Version=16.9.150.16657, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. A rendszer nem tal&#x00E1;lja a megadott f&#x00E1;jlt.</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PREVIEW\COMMON7\IDE\EXTENSIONS\MICROSOFT\LIVESHARE.VSCORE\Microsoft.VisualStudio.LanguageServices.Remote.VSCore.dll</path>
  </entry>
  <entry>
    <record>500</record>
    <time>2021/09/09 09:35:44.176</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.VisualStudio.LanguageServer.Protocol, Version=16.9.150.16657, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. A rendszer nem tal&#x00E1;lja a megadott f&#x00E1;jlt.</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PREVIEW\COMMON7\IDE\EXTENSIONS\MICROSOFT\LIVESHARE.VSCORE\Microsoft.VisualStudio.LanguageServices.LanguageExtension.VSCore.dll</path>
  </entry>
  <entry>
    <record>509</record>
    <time>2021/09/09 09:35:44.178</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.Windows.Simulator.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. A rendszer nem tal&#x00E1;lja a megadott f&#x00E1;jlt.</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PREVIEW\COMMON7\IDE\COMMONEXTENSIONS\PLATFORM\DIAGNOSTICSHUB\Microsoft.DiagnosticsHub.VisualStudio.Package.dll</path>
  </entry>
  <entry>
    <record>523</record>
    <time>2021/09/09 09:35:44.182</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.VisualStudio.CppSvc.Internal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. A rendszer nem tal&#x00E1;lja a megadott f&#x00E1;jlt.</description>
    <path>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\CommonExtensions\Microsoft\CodeAnalysis\Microsoft.VisualStudio.CodeAnalysis.VCPlugin.dll</path>
  </entry>
  <entry>
    <record>546</record>
    <time>2021/09/09 09:35:47.475</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>An element with the same key but a different value already exists. Key: &apos;C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PREVIEW\COMMON7\IDE\EXTENSIONS\0TGBNEYS.BAY\Microsoft.VisualStudio.Navigation.RichCodeNav.dll&apos;</description>
  </entry>
  <entry>
    <record>548</record>
    <time>2021/09/09 09:35:57.493</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.LanguageServices.Setup.RoslynPackage</source>
    <description>Exception occurred while loading solution options: System.Runtime.InteropServices.COMException (0x8000FFFF): Katasztrof&#x00E1;lis hiba (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))&#x000D;&#x000A;   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Initialize()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
  </entry>
  <entry>
    <record>571</record>
    <time>2021/09/09 09:35:58.316</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.TestTools.TestCaseManagement.QualityToolsPackage</source>
    <description>Exception occurred while loading solution options: System.Runtime.InteropServices.COMException (0x8000FFFF): Katasztrof&#x00E1;lis hiba (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))&#x000D;&#x000A;   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Initialize()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
  </entry>
  <entry>
    <record>643</record>
    <time>2021/09/09 09:35:59.570</time>
    <type>Error</type>
    <source>VS/IDE/TaskStatusCenter/RunningRegisteredTaskFailed</source>
    <description>System.Threading.Tasks.TaskCanceledException: A task was canceled.&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.TaskStatusCenter.TaskStatusCenterModel.&lt;&gt;c__DisplayClass40_0.&lt;&lt;LogTelemetryOnTaskFailure&gt;b__0&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.&lt;&gt;c__DisplayClass35_0.&lt;&lt;FileAndForget&gt;b__0&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
  </entry>
  <entry>
    <record>680</record>
    <time>2021/09/09 09:36:13.025</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.TestTools.Tips.TuipPackage.TuipPackage</source>
    <description>Exception occurred while loading solution options: System.Runtime.InteropServices.COMException (0x80030002):  nem tal&#x00E1;lhat&#x00F3;. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND))&#x000D;&#x000A;   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Initialize()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
  </entry>
  <entry>
    <record>690</record>
    <time>2021/09/09 09:36:13.561</time>
    <type>Error</type>
    <source>Microsoft.XmlEditor.Package</source>
    <description>Exception occurred while loading solution options: System.Runtime.InteropServices.COMException (0x80030002):  nem tal&#x00E1;lhat&#x00F3;. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND))&#x000D;&#x000A;   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Initialize()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
  </entry>

Checked with reinstalled VS non-preview. Still freeze + quit.

@mrtank mrtank transferred this issue from dotnet-websharper/core Sep 9, 2021
@Jand42
Copy link
Member

Jand42 commented Sep 9, 2021

Sorry, I have broken it with experiments for resolving dotnet-websharper/core#1198

Reverted TP changes in c59001c

@mrtank
Copy link
Member Author

mrtank commented Sep 9, 2021

Referencing 5.0.0.101-preview1 fixes VS freeze. Thanks!

@mrtank mrtank closed this as completed Sep 9, 2021
@mrtank mrtank added this to v5.0-preview in Releases Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants