几天前,我将 VS 2022 更新到了最新版本 17.11.2。
该版本几乎同时发布。
现在,当我构建并运行我的
C++/CLR Form application
时,我在 ntdll.dll
内收到崩溃。崩溃发生在我的任何代码运行之前。
我在主线第一行的断点从未到达。
崩溃发生在 CLR 应用程序启动期间:
ntdll.dll!00007fffd90af6e0() Unknown
KernelBase.dll!00007fffd6a351bb() Unknown
ucrtbased.dll!00007fff0f6b24d7() Unknown
ucrtbased.dll!00007fff0f6b2f1e() Unknown
MyApp.exe!_onexit(int(*)() function=0x00007ff6ea6d0f20) Line 267 C++
MyApp.exe!atexit(void(*)() function=0x00007ff6ea6d0f20) Line 275 C++
MyApp.exe!std::`dynamic atexit destructor for '_Fac_tidy_reg''() Line 64 C++
[Managed to Native Transition]
MyApp.exe!_initterm(void (__cdecl*)()* pfbegin=0x00000052842fdc40, void (__cdecl*)()* pfend=0x00000052842fdc48) Line 126 C++
MyApp.exe!<CrtImplementationDetails>::LanguageSupport::InitializeNative() Line 359 C++
MyApp.exe!<CrtImplementationDetails>::LanguageSupport::_Initialize() Line 598 C++
MyApp.exe!<CrtImplementationDetails>::LanguageSupport::Initialize() Line 805 C++
MyApp.exe!.cctor() Line 857 C++
[Native to Managed Transition]
[Managed to Native Transition]
[Native to Managed Transition]
mscoreei.dll!00007fffbb50d6ea() Unknown
mscoree.dll!00007fffbc7aac42() Unknown
kernel32.dll!00007fffd7ee7374() Unknown
ntdll.dll!00007fffd909cc91() Unknown
如果有人知道如何解决此问题,请告诉我。
另外 - 如果有办法回滚到特定的先前版本,请告诉我。
同时请注意这个特定版本...