How can we help you today? How can we help you today?

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?
NeilCoo
0

Comments

1 comment

  • Jessica R

    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 R
    0

Add comment

Please sign in to leave a comment.