microsoft / automatic-graph-layout

A set of tools for graph layout and viewing
Other
1.35k stars 302 forks source link

Could not load type 'System.Windows.Forms.ToolBar' from assembly 'System.Windows.Forms...' #302

Open brah-mcdude opened 2 years ago

brah-mcdude commented 2 years ago

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

hatzhang commented 2 years ago

According to removed-controls, ToolBar should be replaced with ToolStrip, and this has been done with the latest release. So this is not an issue anymore.