Jump to content

WinForms Designer can't open an EffectConfigDialog


toe_head2001
 Share

Recommended Posts

With the recent version of paint.net, it seems the WinForms Designer can't open a form derived from EffectConfigDialog.

 

In VS 2022, the "loading" message appears for infinity.

 

However, VS 2019 is more informative, as it displays an actual error message:

image.png

  • Upvote 1
Link to comment
Share on other sites

If I change the target to .NET 5, the designer loads up without issue.

Switching back to .NET 6 causes the error to show again.

 

This seems like a bug in .NET 6 rather than a bug in paint.net.

 

So... target .NET 5 while WinForm designing, and then switch back to .NET 6.

¯\_(ツ)_/¯

Link to comment
Share on other sites

Properly documented for @Rick Brewster

Nice to see what I have been seeing for the past month.  Didn't report it because I thought it was a VS thing. I may have mentioned it before.

 

formChoice.png.5103d63a00a5c3d1e6d90d34c74af39c.png

Build a new form based project in VS2022 without any references. I used the above to get it to link to Net 6.0

Without adding any code, add a blank form. Once you see it open properly, add references to Paint and then close the form.

Try to open the form and watch the designer try to open. Then you receive this error

image.png.5f8916319842efb17372873ad6ade014.png

Hopefully he can figure it out. :)

 

qG3vze.png

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...