Competition: What’s your favorite Redgate tool? Enter now.

The type 'System.Windows.Forms.UserControl' has no property named

I have used Reflector to de-compile some old projects that we have lost the source code for,

When I open the designer in Visual Studio, it gives a lot of errors;

The type 'System.Windows.Forms.UserControl' has no property named 'ListView'

How do I fix the errors and browse the WinForm?  All projects are the same, so is it a bug in Reflector?


  • Hi NeilCoo,

    Thank you for your post!

    I'm afraid that this isn't a bug, but expected behavior with Windows Forms applications.The reason is that NET Reflector is only able to decompile the C# code, but it's unable to recreate the .designer files (compiling destroys information about the course code so that .NET Reflector isn't able to get these back).

    The C# code can hopefully still give a good head start with recreating the project, but unfortunately, you would need to recreate any other files manually.

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?

Sign In or Register to comment.