dotnet / dotnet/winforms

VS2022, VS2026 winforms designer for .net framework wants to load System.Runtime.dll v. 10.0.0.0

Open
#14,059 2 comments 1 reaction 0 assignees View on GitHub
area-VSDesigner
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

sorry, there wasn't a issue template for the .net framework winforms designer, so i create this blank one.
here's a screenshot of the stacktrace.

Image

here's a link to the devcom issue we created yesterday:_
https://developercommunity.visualstudio.com/t/winforms-net48-designer-fails-to-load-S/11001203?port=1026&fsid=38f24fd5-33b2-4177-974d-62cb0c6993f4

We suspect it's because we have properties on the base form (that gets instanciated) where the types are coming from netstandard 2.0 assemblies or ones that are multitargeting both net10.0 and net48,
We think that, because in one specific case, the error goes away if we uncomment a certain property. sadly, that doesn't work for most of our forms. (see the linked devcom issues for details)

Is there a way to debug into the FilterApplyMethodsBase call, by any chance?

i remember, back in the day, you could attach a second VS and sometimes make progress there. why isn't that possible, here?

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.