Replies: 2 comments 4 replies
-
mscorwks.dll is .NET Framework 2.0. Is it expected that your app is loading both .NET 6 and .NET Framework 2.0? Loading multiple .NET runtimes into one process is not fully supported. In particular, Visual Studio debugger does not work well when multiple .NET runtimes are loaded into one process. If it is expected for both .NET 6 and .NET Framework 2.0 to be loaded into your app, you may need to switch to windbg to debug this crash. |
Beta Was this translation helpful? Give feedback.
-
@jkotas thanks for your quick reply. Yes, unfortunately both .NET Framework 2.0 and .NET 6 is expected to load due to a mixed mode assembly dependency targeting .NET Fx 3.5 (I believe), as also discussed in #80422 ("Q: Type 'IconBufferEventArgs' has a ComVisible(false) parent 'System.EventArgs' in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed"). Okay, I will try WinDBG, any pointers what one should look out for? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we have being seeing
Fatal error while logging another fatal error.
messages written to console in a WPF application we have ported from .NET Framework to .NET 6. This happens at the end of application closing.This message appears to have been added in #46561 ("Add recursion / thread interaction guard in LogInfoForFatalError") but how can one debug find the cause of this issue?
If using native debugger we get something like below. Note the error happens after

Main() { ... return 0; }
.cc: @jkotas
Beta Was this translation helpful? Give feedback.
All reactions