lextm / lextm/ActionListWinForms

.NET Core 3.1 support

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
14
Forks
6
PR merge metrics
No merged PRs in 30d

Description

https://docs.microsoft.com/en-us/dotnet/core/porting/winforms-breaking-changes

.NET Core 3.1 removed obsolete controls, so 1.x releases of this library triggers runtime exceptions,

System.TypeLoadException
  HResult=0x80131522
  Message=Could not load type 'System.Windows.Forms.ToolBarButton' from assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
  Source=Crad.Windows.Forms.Actions
  StackTrace:
   at Crad.Windows.Forms.Actions.Action.AddHandler(Component extendee)
   at Crad.Windows.Forms.Actions.Action.InternalAddTarget(Component extendee)
   at Crad.Windows.Forms.Actions.ActionList.SetAction(Component extendee, Action action)
   at JexusManager.MainForm.InitializeComponent() in F:\JexusManager\JexusManager\MainForm.Designer.cs:line 344
   at JexusManager.MainForm..ctor(List`1 files) in F:\JexusManager\JexusManager\MainForm.cs:line 76
   at JexusManager.Program.Main(String[] args) in F:\JexusManager\JexusManager\Program.cs:line 87

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked .NET Core 3.1 Windows Forms breaking-changes documentation, then inspect Action.AddHandler and the related stack-trace path. Reproduce the TypeLoadException on .NET Core 3.1 and identify the compatibility work needed so the library loads without referencing the removed ToolBarButton type.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.