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.DirectoryServices, ... #11100

Closed
velteyn opened this issue Jul 13, 2023 · 2 comments
Closed

[NBug] Could not load file or assembly 'System.DirectoryServices, ... #11100

velteyn opened this issue Jul 13, 2023 · 2 comments

Comments

@velteyn
Copy link

velteyn commented Jul 13, 2023

Environment

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

Issue description

System.IO.FileNotFoundException: Could not load file or assembly 'System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Impossibile trovare il file specificato.
File name: 'System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at GitUI.CommandsDialogs.FormSettings.InitializeComponent()
   at GitUI.CommandsDialogs.FormSettings..ctor(GitUICommands commands, SettingsPageReference initialPage) in C:\projects\gitextensions\GitUI\CommandsDialogs\FormSettings.cs:line 40
   at GitUI.CommandsDialogs.FormSettings.ShowSettingsDialog(GitUICommands uiCommands, IWin32Window owner, SettingsPageReference initialPage) in C:\projects\gitextensions\GitUI\CommandsDialogs\FormSettings.cs:line 100
   at GitUI.GitUICommands.<>c__DisplayClass117_0.<StartSettingsDialog>g__Action|0() in C:\projects\gitextensions\GitUI\GitUICommands.cs:line 943
   at GitUI.GitUICommands.DoActionOnRepo(IWin32Window owner, Func`1 action, Boolean requiresValidWorkingDir, Boolean changesRepo, EventHandler`1 preEvent, EventHandler`1 postEvent) in C:\projects\gitextensions\GitUI\GitUICommands.cs:line 318
   at GitUI.GitUICommands.StartSettingsDialog(IWin32Window owner, SettingsPageReference initialPage) in C:\projects\gitextensions\GitUI\GitUICommands.cs:line 947
   at GitUI.CommandsDialogs.Menus.ToolsToolStripMenuItem.OnShowSettingsClick(Object sender, EventArgs e) in C:\projects\gitextensions\GitUI\CommandsDialogs\Menus\ToolsToolStripMenuItem.cs:line 75
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.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)

Tools - Settings menu gives this error

Steps to reproduce

go to tools - settings menù and I have this...

Did this work in previous version of GitExtensions?

No response

Diagnostics

No response

@duplicates-detector-bot
Copy link

Potential duplicates:

  • #7606
  • #8089
  • #8187
  • #8325
  • #8476
  • #9920
  • #9922
  • #10363
  • #10367
  • #10368
  • #10376
  • #10381
  • #10392
  • #10412
  • #10413
  • #10476
  • #10528
  • #10530
  • #10551
  • #10555
  • #10562
  • #10565
  • #10569
  • #10596
  • #10609
  • #10623
  • #10624
  • #10625
  • #10627
  • #10628
  • #10631
  • #10650
  • #10652
  • #10734
  • #10738
  • #10771
  • #10772
  • #10803
  • #10804
  • #10813
  • #10874
  • #10875
  • #10876
  • #11047
  • #11066

@gerhardol
Copy link
Member

Duplicate of #10368
This error seem to occur related to Windows and/or .NET updates and seem to be resolved by app or possible PC restarts.
Updated message in #11074

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

2 participants