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

[NBug] Could not load file or assembly 'System.Net.Mail, Version=6... #11304

Closed
Greg-Smulko opened this issue Oct 27, 2023 · 2 comments
Closed

Comments

@Greg-Smulko
Copy link

Greg-Smulko commented Oct 27, 2023

Environment

  • Git Extensions 4.1.0.16698
  • Build 1fe52a1
  • Git 2.41.0.windows.1
  • Microsoft Windows NT 10.0.22621.0
  • .NET 6.0.23
  • DPI 120dpi (125% scaling)
  • Portable: False

Issue description

System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.Mail, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
   at GitCommands.GitModule.GetRebasePatchFiles()
   at GitUI.PatchGrid.GetPatches() in C:\projects\gitextensions\GitUI\UserControls\PatchGrid.cs:line 90
   at GitUI.PatchGrid.Initialize() in C:\projects\gitextensions\GitUI\UserControls\PatchGrid.cs:line 119
   at GitUI.PatchGrid.OnRuntimeLoad() in C:\projects\gitextensions\GitUI\UserControls\PatchGrid.cs:line 71
   at ResourceManager.GitExtensionsControl.OnLoad(EventArgs e) in C:\projects\gitextensions\ResourceManager\GitExtensionsControl.cs:line 38
   at System.Windows.Forms.UserControl.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at ResourceManager.GitExtensionsFormBase.WndProc(Message& m) in C:\projects\gitextensions\ResourceManager\GitExtensionsFormBase.cs:line 107
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

trying to interactively rebase

Steps to reproduce

I can't really repro it reliably I'm afraid, but it happened more than once.

Did this work in previous version of GitExtensions?

No response

Diagnostics

No response

@pmiossec
Copy link
Member

pmiossec commented Oct 27, 2023

It's a transitant error due to Windows update. (ignore error and) Wait or restart GitExtensions as a workaround. Will be more user friendly handled by next version in the process to be released in not too long...

@RussKie RussKie reopened this Oct 28, 2023
@RussKie RussKie closed this as completed Oct 28, 2023
@RussKie RussKie reopened this Oct 28, 2023
@RussKie RussKie closed this as completed Oct 28, 2023
@RussKie RussKie reopened this Oct 28, 2023
@RussKie RussKie closed this as completed Oct 28, 2023
@RussKie RussKie reopened this Oct 28, 2023
@RussKie RussKie closed this as completed Oct 28, 2023
@RussKie RussKie reopened this Oct 28, 2023
@duplicates-detector-bot
Copy link

💡 The issue has been fixed in v4.2-rc1. Please update your version.

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

No branches or pull requests

4 participants