dotnet / dotnet/winforms

Can .Net8.0-windows Win Form support calling from MFC

Open
#11,517 13 comments 0 reactions 1 assignee Claimed by @JeremyKuhne View on GitHub
tracking-external-issue
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### .NET version

.net8.0-windows

### Did it work in .NET Framework?

Yes

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

_No response_

### Issue description

Hi Team

Currently we have a winform control on top of the .Net framework, and we use it in our MFC application. Is it possible to upgrade the .Net Framwork to .Net8-windows. I found that **CWinFormsControl** class is out of date and can not used for in .Net8-windows. I know we can use **com** to implement that. But we dont want to use that. Is there any other solution?

### Steps to reproduce

After upgrade to .Net8 control, got crash in MFC application

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.