dotnet / dotnet/runtime

System.Runtime.InteropServices.ExternalException occurs while displaying base64string in WinForms application

Open
#130,857 3 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime.InteropServices needs-author-action untriaged
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

### Problem description:

We had previously raised the same query, which is mentioned below. ​

**Query link:** https://github.com/dotnet/runtime/issues/61997

We are using .NET 9.0, but we are still facing this exception. The main window appears as expected; however, it displays an empty window. Additionally, the exception appears in the Output window. Please refer to the image below for reference.

**Sample Zip:** [WinFormsApp.zip](https://github.com/user-attachments/files/30177053/WinFormsApp.zip)

**Image reference:**

Image

**System Specification:**

Image

Contributor guide

Open the contributing guide

Research direction

Start by running the attached WinFormsApp.zip on .NET 9 and compare the behavior with issue 61997. Use the empty window and Output-window exception as the initial reproduction signals. Done requires a confirmed reproduction and a clearly identified runtime or application cause, with any resulting fix or regression coverage documented.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.