Windows Form Designer can't handle custom components
I have a custom list view created by extending the ListView Class and the Forms Designer in Rider says : "Window forms designer exception: Could not find type 'Project1.ListViewWithReordering'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.. Line: 24".
ListViewWithReording is an extension of ListView but I had to go into Visual Studio to edit the form. Is there a way to make it so Rider can recognize it? Maybe I am missing some necessary code in the class for Rider.
Any pointers would be appreciated.
Please sign in to leave a comment.
Hi @...!
Thank you for your request. What version of Rider do you use?
Could you please attach a sample code part or solution so we could double-check the issue on our side?
Thank you in advance!
I am using the latest version Rider, 2021.1.3. The class in question is below.
- Steve
At some point - not always - the same applies to User Controls.The Form Designer was unable to open, producing the same error. In VS I had no problem.
Hello @...!
Please accept my apologies for the delay.
Unfortunately, I was not able to reproduce the issue in my environment with a small test project.
I'd like to ask you to try the latest EAP and check if the issue still persists. In this case, please, create a new issue with `Help | Report a bug` with automatically added logs so we could analyze them.
Thank you in advance!