Windows Forms decompiles, designer gives errors

5 posts, 0 answers
  1. Jamie
    Jamie avatar
    5 posts
    Member since:
    May 2017

    Posted 06 May Link to this post

    I decompiled a VB.NET application built around 2011.

    The decompiled code looks fine - no errors when I load it into VS 2015.

    However, when I attempt to open a form designer I get many errors.

    A few types:

    The type 'System.Windows.Forms.Form' had no property named 'XXXX' where XXXX is a control name like StartStrip1.

    The variable 'XXX' is either undeclared or was never assigned.

    The name 'XXX' is already used by another object. 

    Duplicate declaration of member 'XXX' 

    1. Is this a bug in the decompiler, if so, how can I fix this?
    2. Is there a step-by-step guide to decompiling windows forms and getting them to work in VS again?

    Thanks

  2. Jamie
    Jamie avatar
    5 posts
    Member since:
    May 2017

    Posted 06 May Link to this post

    Slight amendment to original post - I'm using VS 2017, not 2015
  3. Jamie
    Jamie avatar
    5 posts
    Member since:
    May 2017

    Posted 06 May Link to this post

    Slight amendment to original post - I'm using VS 2017, not 2015
  4. Jamie
    Jamie avatar
    5 posts
    Member since:
    May 2017

    Posted 10 May Link to this post

    Hi

    Does anyone have any advice re: my question?

    Thanks 
  5. Alexander
    Admin
    Alexander avatar
    183 posts

    Posted 11 May Link to this post

    Hello Jamie,

    Yes, this is obviously a bug in JustDecompile. The perfect scenario would be the generated project to compile and work right away with no manual modifications needed, but this is not always the case.

    There is no such tutorial. One way to go with it is to fix them error by error manually. However, we would like to take a look at those errors and add them to our backlog. Would it be possible to zip and send me the assembly in question at my email - alexander.dimitrov [at] telerik.com?

    Regards,
    Alexander
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top