https://bugs.winehq.org/show_bug.cgi?id=57683
Bug ID: 57683 Summary: Error appears when CLR DLL was been loading Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: xieyie@qq.com Distribution: ---
As in the app, the CLR DLL was dependenced, but when load the CLR DLL, the error like this:
System.TypeloadException: Could not load type of field 'dll-type-name' due to : Could not load file or assembly 'clr-dll-type-name' or one of iths dependencies at (wrapper managed-to-native). System.RuntimeTypeHandle.type_is_assignable_from(System.Type,System.Type) at System.RuntimeTypeHandle.CanCastTo(System.RuntimeType type, System.RuntimeType target)....
https://bugs.winehq.org/show_bug.cgi?id=57683
--- Comment #1 from Austin English austinenglish@gmail.com --- What application is this? Is there a free demo/download available?
https://bugs.winehq.org/show_bug.cgi?id=57683
--- Comment #2 from ShellMount xieyie@qq.com --- You can download the Demo from the 3 URLs, it contained 3 parts of the zip package: https://en.imqk.com/download/DemoInWine_2.zip.001 https://en.imqk.com/download/DemoInWine_2.zip.002 https://en.imqk.com/download/DemoInWine_2.zip.003
If it could not be downloaded, Please let me know. (Maybe it is a good idea, you can share me a e-mail address, I will send the demo files to your e-mail)
unzip: when you unzip these files, you will get a zip package.
start command: wine VM.Start.exe
and then, you will see the error.
https://bugs.winehq.org/show_bug.cgi?id=57683
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi,
I gave it a try and it tries to load several debug versions of the vcruntime, like ucrtbased.dll and vcruntime140d.dll etc. Did you compile this program yourself and tested it on windows? As a guess I'd say this program won't run on windows as well.
If you compiled it yourself , compile it as release (not debug). Any additional info about the aforementioned issues would be fine. Thanks
https://bugs.winehq.org/show_bug.cgi?id=57683
--- Comment #4 from ShellMount xieyie@qq.com --- Yes: it can run on WINDOWS10 with wine9.0 with dotnet framework4.7.2 And it can run on wine / UBUNTU20.04 after I click the error tips window, the result is that: CLR dll could not be loaded. (As the CLR dll will be loaded as a plugin, And I set a try in code, to make sure it can run when the CLR dll could not be loaded. so even it could not be loaded, it can run on wine / UBUNTU 20.04)
https://bugs.winehq.org/show_bug.cgi?id=57683
--- Comment #5 from ShellMount xieyie@qq.com --- Yes: it can run on WINDOWS10 with wine9.0 with dotnet framework4.7.2 And it can run on wine / UBUNTU20.04 after I click the error tips window, the result is that: CLR dll could not be loaded. (As the CLR dll will be loaded as a plugin, And I set a try in code, to make sure it can run when the CLR dll could not be loaded. so even it could not be loaded, it can run on wine / UBUNTU 20.04)
https://bugs.winehq.org/show_bug.cgi?id=57683
--- Comment #6 from ShellMount xieyie@qq.com --- FIX: Yes: it can run on WINDOWS10. And it can run on wine / UBUNTU20.04 with dotnet framework4.7.2 after I click the error tips window, the result is that: CLR dll could not be loaded.
https://bugs.winehq.org/show_bug.cgi?id=57683
--- Comment #7 from ShellMount xieyie@qq.com --- FIX: Yes: it can run on WINDOWS10. And it can run on wine / UBUNTU20.04 with dotnet framework4.7.2 after I click the error tips window, the result is that: CLR dll could not be loaded.