Jump to content

WinForms Designer can't open an EffectConfigDialog


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:


  • 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.



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


Hopefully he can figure it out. :)




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.

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.


  • Create New...