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.Runtime.Serializati... #11153

Closed
xlisec opened this issue Aug 15, 2023 · 2 comments
Closed

[NBug] Could not load file or assembly 'System.Runtime.Serializati... #11153

xlisec opened this issue Aug 15, 2023 · 2 comments

Comments

@xlisec
Copy link

xlisec commented Aug 15, 2023

Environment

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

Issue description

System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime.Serialization.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at GitCommands.Utils.JsonSerializer.Serialize[T](T myObject)
   at GitCommands.CommitTemplateItem.SerializeCommitTemplates(CommitTemplateItem[] items) in C:\projects\gitextensions\GitCommands\CommitTemplateItem.cs:line 59
   at GitCommands.CommitTemplateItem.SaveToSettings(CommitTemplateItem[] items) in C:\projects\gitextensions\GitCommands\CommitTemplateItem.cs:line 41
   at GitUI.CommandsDialogs.CommitDialog.FormCommitTemplateSettings.SaveSettings() in C:\projects\gitextensions\GitUI\CommandsDialogs\CommitDialog\FormCommitTemplateSettings.cs:line 77
   at GitUI.CommandsDialogs.CommitDialog.FormCommitTemplateSettings.buttonOk_Click(Object sender, EventArgs e) in C:\projects\gitextensions\GitUI\CommandsDialogs\CommitDialog\FormCommitTemplateSettings.cs:line 83
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.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)

exception. I had a templete, but now I can;t see it.

Steps to reproduce

.

Did this work in previous version of GitExtensions?

.

Diagnostics

.

@duplicates-detector-bot
Copy link

Potential duplicates:

  • #6830
  • #8089
  • #8187
  • #8325
  • #8476
  • #9920
  • #9922
  • #10363
  • #10367
  • #10368
  • #10376
  • #10381
  • #10392
  • #10412
  • #10413
  • #10528
  • #10551
  • #10624
  • #10625
  • #10734
  • #10738
  • #10771
  • #10772
  • #10803
  • #10804
  • #10813
  • #10874
  • #10875
  • #10876
  • #11047
  • #11066
  • #11100

@RussKie
Copy link
Member

RussKie commented Aug 15, 2023

Presumably the issue is related to the Windows update, the app should work after a restart. #11074 should help.

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