Skip to content

What happened to ContextMenu/MenuItem UI classes? #2614

@speed2048

Description

@speed2048

.Net core 3.1.1000

  • Have you experienced this same bug with .NET Framework?: No

Problem description:

When I updated to .net core 3.1 and ran my windows application I get the following exception.

System.TypeLoadException: Could not load type 'System.WIndows.Forms.ContextMenu' fro assembly 'System.Windows.Forms', Version 4.0.0 ....

There are no compile / link errors.

Had to switch to ContextMenuStrip and ToolStripMenuItem UI classes to get rid of the exception errors.

Would like there to be documentation or deprecation notifications for these classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions