gitextensions / GitExtensions.GerritPlugin

Git Extensions plugin providing integration with Gerrit Code Review.
MIT License
9 stars 8 forks source link

[NBug] Could not load type 'GitUI.OsShellUtil' from assembly 'GitU... #73

Closed iamthemitch closed 1 year ago

iamthemitch commented 1 year ago

Environment

Issue description

System.TypeLoadException: Could not load type 'GitUI.OsShellUtil' from assembly 'GitUI, Version=4.1.0.16698, Culture=neutral, PublicKeyToken=null'.
   at GitExtensions.GerritPlugin.FormGerritChangeSubmitted.<>c__DisplayClass1_0.<ShowSubmitted>b__0(Object s, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

Can't open review link

Steps to reproduce

Publish a review change

Did this work in previous version of GitExtensions?

No response

Diagnostics

No response

duplicates-detector-bot[bot] commented 1 year ago

Potential duplicates:

gerhardol commented 1 year ago

Is gerrit plugin updated?

iamthemitch commented 1 year ago

GerritPlugin v2.0.5.182

The setup is broken after an automatic upgrade from my corporate policy. The workaround is for now to install and reinstall.

Not able to pinpoint the difference.

mstv commented 1 year ago

I guess it was caused by Windows Update updating .NET. If restart of the app does not help, it usually works after a reboot.

poupounetjoyeux commented 1 year ago

Fixed wit #74