-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Designer doesn't work for 32-bit projects #4026
Comments
I appreciate you have spent the time to raise the issue, but issues with VS and VS Designer should be sent via VS Feedback channel (the icon in the top right hand side corner). The reason for this - the VS Feedback tool captures a lot of additional information (such as screenshots, memory dumps, stack traces, assembly versions, etc.) that can help us to investigate your issue and identify the cause. |
While I can do it through the VS Feedback tool this seemed easier because I could clearly reduce it to the underlying cause and provide a project that reproduces the error. It was tested on Visual Studio 16.8.0 Preview 3.0 but the issue was present in all the previews so far. |
This team is not working on the designer, so while it may be easier for you, it isn't for the team fixing the bugs ;) |
@weltkante That's not the messaging that I got for the past 2 years (both on this repository and in conversations elsewhere). Part of the design-time stack and some documentation is hosted in this repository so naturally it's the place where I report it. I am happy to report the issue through the VS Feedback tool but tracking the problems in two separate places is not helpful at all from the customer perspective. To expand on that, some of the issues with the designer were directly caused by code in this repository that is responsible for type conversion or some other design-time building blocks. These issues clearly belong to this repository. I realize this particular issue is affecting the non-public part of the code that is part of Visual Studio. However, from our viewpoint, it is still something that affects the same end user component, and tracking it on two places is more burden for us. |
A little correction - there's one team that looks after Windows Forms. However the team's focus is currently split into two streams - the runtime (this repo, with me guarding it), and the designer.
As I said above this repo is for the runtime aspects of the Windows Forms, the designer is built in a different repo, and reports for issues need to go through the VS Feedback channel. That channel collects quite a bit more information that just a stack trace, and this information is handled by dedicated engineers.
VS and Designer issues are tracked via the VS Feedback, and not tracked here due to different release cadences.
I am afraid it doesn't. |
I meant issues like #2886 which are caused by broken code in this repository that happens to be used by the designer. |
Cross-posted through VS Feedback as https://developercommunity.visualstudio.com/content/problem/1205607/net-core-winforms-designer-doesnt-work-for-32-bit.html. I am happy to do that for this kind of issues but the VS Feedback tool lacks public attachments. That makes it harder for me to share it with my coworkers. |
Thank you, I'll make sure your report gets in the team's radar. |
@Shyam-Gupta - can you take a look at this? It doesn't seem like the expected behavior. |
@filipnavara Instead of |
Good point from @Shyam-Gupta. Also I must to notice that visual inheritance still not working at new designer... |
@filipnavara I hope using @kirsan31 Thank you for the validation. |
.NET Core Version: 3.1, 5.0 RC1
Have you experienced this same bug with .NET Framework?: No
Problem description:
The new WinForms designer seems to always run as 64-bit process. This causes an issue when the application that is being developed is targeted to use 32-bit runtime (eg.
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
specified in .csproj file). The designer process then tries to load the project assembly and fails:The .dll compiled with these options has the following headers:
Expected behavior:
The designer should work.
Ideally it should run as 32-bit process since that would allow loading 32-bit native libraries that may be required by the project. If that is not possible for some reason than it should be properly documented and report a more reasonable error to the user than "base type XY could not be loaded".
Minimal repro:
DesignerInheritenceBug.zip
The text was updated successfully, but these errors were encountered: