microsoft / microsoft/automatic-graph-layout
Cannot load WinForm at design time: Method 'InvalidateBeforeTheChange' does not have an implementation.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 319
- Avg merge
- 38m
- Merged PRs (30d)
- 1
Description
After migrating my project to the latest version of MSAGL, I am getting the following error in Visual Studio 2017 when loading a WinForm containing a Microsoft.Msagl.GraphViewerGdi.GViewer control:
Method 'InvalidateBeforeTheChange' in type 'Microsoft.Msagl.GraphViewerGdi.GViewer' from assembly 'Microsoft.Msagl.GraphViewerGdi, Version=3.0.0.0, Culture=neutral, PublicKeyToken=fffc27ea4058b3a1' does not have an implementation.

The control works fine as runtime though.
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
Reproduce the design-time load failure in Visual Studio 2017 with a WinForm containing Microsoft.Msagl.GraphViewerGdi.GViewer after migrating to the latest MSAGL version. Start by inspecting GViewer and the Microsoft.Msagl.GraphViewerGdi assembly around InvalidateBeforeTheChange; done means the control loads in the designer without the missing-implementation error while retaining its working runtime behavior.
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