microsoft / microsoft/automatic-graph-layout
Could not load type 'System.Windows.Forms.ToolBar' from assembly 'System.Windows.Forms...'
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 319
- Avg merge
- 38m
- Merged PRs (30d)
- 1
Description
System.TypeLoadException
HResult=0x80131522
Message=System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'System.Windows.Forms.ToolBar' from assembly 'System.Windows.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source=Microsoft.Msagl.GraphViewerGdi
StackTrace:
at Microsoft.Msagl.GraphViewerGdi.GViewer..ctor(), Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source=Microsoft.Msagl.GraphViewerGdi
StackTrace:
at Microsoft.Msagl.GraphViewerGdi.GViewer..ctor()...
might be related issue:
NU1701 This package may not be fully compatible with your project (target framework 'net6.0-windows7.0') #301
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the TypeLoadException when constructing Microsoft.Msagl.GraphViewerGdi.GViewer in a project targeting net6.0-windows7.0. Review the NU1701 compatibility warning and related issue #301, then verify that the viewer loads without the System.Windows.Forms.ToolBar error and that the package is compatible with the target framework.
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
- Needs clarification
- Newbie friendliness
- 25/100