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

winform net7 aot ,Close() application execution error #75

Open
baidoufu opened this issue Feb 25, 2024 · 3 comments
Open

winform net7 aot ,Close() application execution error #75

baidoufu opened this issue Feb 25, 2024 · 3 comments

Comments

@baidoufu
Copy link

System.DllNotFoundException: Unable to load DLL 'vcruntime140_cor3.dll' or one of its dependencies: The specified module could not be found.
at System.Runtime.InteropServices.NativeLibrary.LoadLibErrorTracker.Throw(String) + 0x79
at Internal.Runtime.CompilerHelpers.InteropHelpers.FixupModuleCell(InteropHelpers.ModuleFixupCell*) + 0xe4
at Internal.Runtime.CompilerHelpers.InteropHelpers.ResolvePInvokeSlow(InteropHelpers.MethodFixupCell*) + 0x2f
at .__std_type_info_destroy_list(__type_info_node*) + 0x2d
at .__scrt_uninitialize_type_info() + 0x29
at ._app_exit_callback() + 0x148
at .ModuleUninitializer.SingletonDomainUnload(Object source, EventArgs arguments) + 0xa4
at Client!+0x18496f6
at System.Environment.Exit(Int32) + 0x29
at Launcher.AMain.AMain_FormClosed(Object sender, FormClosedEventArgs e) + 0x5c
at System.Windows.Forms.Form.WmClose(Message&) + 0x462
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Interop.User32.WM msg, IntPtr wparam, IntPtr lparam) + 0x70

@thepwrtank18
Copy link

thepwrtank18 commented Feb 25, 2024

For a temporary fix, https://www.dllme.com/dll/files/vcruntime140_cor3 (put at same dir as assembly)

@baidoufu
Copy link
Author

Replaced the downloaded file, still the same error

@tabzhang
Copy link

Unknown Hard Error When Closing windows。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants