Greenshot issue

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fl_ori4n
Newbie
Newbie
Posts: 1
Joined: Wed Dec 16, 2020 4:08 am

Greenshot issue

Post by fl_ori4n »

Hello,

I did tried to install the app greenshot for windows.
The install worked just fine but the app fail on run but it was marked as Platinum in 2014.
Any advise or info about what I can do? (I did send the last rating).

there's the exception:

Code: Select all

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'GreenshotPlugin.Controls.GreenshotForm' 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 () [0x00000] in <cf81883f6ceb4c0ba3e68b51e30eb75f>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.get_ExecutablePath () [0x0003a] in <c2220be4c5e04e7eb9f03acee71a4bd8>:0 
  at GreenshotPlugin.Controls.GreenshotForm.get_IsInDesignMode () [0x00000] in <68959698d73243a09b84293d02c00b84>:0 
  at GreenshotPlugin.Controls.GreenshotForm..cctor () [0x0001e] in <68959698d73243a09b84293d02c00b84>:0 
   --- End of inner exception stack trace ---
  at Greenshot.BaseForm..ctor () [0x00000] in <64ca337812514938b5bb8fc98fce780b>:0 
  at Greenshot.Forms.BugReportForm..ctor () [0x00000] in <64ca337812514938b5bb8fc98fce780b>:0 
  at Greenshot.Forms.BugReportForm..ctor (System.String bugText) [0x00000] in <64ca337812514938b5bb8fc98fce780b>:0 
  at (wrapper remoting-invoke-with-check) Greenshot.Forms.BugReportForm..ctor(string)
  at Greenshot.MainForm.CurrentDomain_UnhandledException (System.Object sender, System.UnhandledExceptionEventArgs e) [0x0003c] in <64ca337812514938b5bb8fc98fce780b>:0 
exception inside UnhandledException handler: (null) assembly:C:\windows\mono\mono-2.0\lib\mono\4.5\mscorlib.dll type:TypeInitializationException member:(null)
Thanks you
hornetster
Newbie
Newbie
Posts: 1
Joined: Wed Dec 31, 2008 8:24 pm

Re: Greenshot issue

Post by hornetster »

Yep, similar issue here.
Would be great to be able to use this successfully.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Greenshot issue

Post by jkfloris »

The application (version 1.3.122) seems to work in a 32-bit Wineprefix with Wine 6.0-rc6 and winetricks dotnet472 and gdiplus_winxp
Locked