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

Error while trying to run thcrap with wine #194

Open
wdmvv opened this issue Aug 17, 2022 · 0 comments
Open

Error while trying to run thcrap with wine #194

wdmvv opened this issue Aug 17, 2022 · 0 comments
Labels

Comments

@wdmvv
Copy link

wdmvv commented Aug 17, 2022

using latest release - https://github.com/thpatch/thcrap/releases/tag/2022-08-17

wine version - 6.0.3
dotnet 461 (installed with script in /bin/scripts)

wine thcrap.exe leads to

0230:err:mscoree:mono_assembly_preload_hook_fn Failed to load L"C:\\windows\\Microsoft.NET\\assembly\\GAC_64\\PresentationCore\\v4.0_4.0.0.0__31bf3856ad364e35\\PresentationCore.dll", status=3

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Windows.Application' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Navigation.BaseUriHelper' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method not found: bool System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5()
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Uri..cctor () [0x00117] in <c251657a892848699043ad3913d9e471>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Navigation.BaseUriHelper..cctor () [0x00000] in <026f8b89478e44f69208fca17e99e530>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Application.ApplicationInit () [0x0000a] in <fc6817682acc449bb84974d62f4c4342>:0 
  at System.Windows.Application..cctor () [0x0002e] in <fc6817682acc449bb84974d62f4c4342>:0 
   --- End of inner exception stack trace ---
  at thcrap_configure_v3.App..ctor () [0x00000] in <f29aa71e203045e2b9dc1245415aca32>:0 
  at thcrap_configure_v3.App.Main () [0x00000] in <f29aa71e203045e2b9dc1245415aca32>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Application' threw an exception. ---> System.Type
InitializationException: The type initializer for 'System.Windows.Navigation.BaseUriHelper' threw an exception. ---> System.TypeInitializationException: The type
 initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> S
ystem.MissingMethodException: Method not found: bool System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5()
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Uri..cctor () [0x00117] in <c251657a892848699043ad3913d9e471>:0
   --- End of inner exception stack trace ---
  at System.Windows.Navigation.BaseUriHelper..cctor () [0x00000] in <026f8b89478e44f69208fca17e99e530>:0
   --- End of inner exception stack trace ---
  at System.Windows.Application.ApplicationInit () [0x0000a] in <fc6817682acc449bb84974d62f4c4342>:0
  at System.Windows.Application..cctor () [0x0002e] in <fc6817682acc449bb84974d62f4c4342>:0
   --- End of inner exception stack trace ---
  at thcrap_configure_v3.App..ctor () [0x00000] in <f29aa71e203045e2b9dc1245415aca32>:0
  at thcrap_configure_v3.App.Main () [0x00000] in <f29aa71e203045e2b9dc1245415aca32>:0

same log in txt

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

No branches or pull requests

2 participants