VS designer doesn't generate designer code

6 posts, 0 answers
  1. RAG
    RAG avatar
    16 posts
    Member since:
    Oct 2011

    Posted 09 Oct 2012 Link to this post

    Dear Telerik-team,

    we are developing a research software with your Telerik for WinForms product.

    For some days my colleague and I do get this irritating error. VS doesn't let us change anything in our UI anymore, we can add or remove things in the design view, but VS doesn't generate the code for the UI-elements in the corresponding blabla.Designer.cs. Whenever we try to build our solution we do get this - kind of pre-compile -  message boxes with "object reference not set to an instance of an object", but without any further error information. The message box appears several times, before anything is written into the console. No error is reported there, the solution builds, the UI pops up, but all changes made are not visible. Not to mention that there is no code inside the blabla.Designer.cs for the added UI-elements (which are still visible in the design view).

    We re-installed Telerik for WinForms and even VS, but nothing helped. Sadly I can't say any more, when the error appeared first, but I've read posts in your forums describing errors similar to mine. It seems that it has to do with the localization we do via resx.files. We also use several Telerik-UI-elements like the TabStrip, ToolWindows, Grid, Dock and so on. I reduced the solution so that it only contains one project and also removed many functionality from that project, but the error still occurs.

    Do you have any common hints to fix a problem like that? Is this a known localization problem?

    Thank you in advance, if needed I can also send you the reduced solution.

    Best regards!
    Fabian Schick
  2. RAG
    RAG avatar
    16 posts
    Member since:
    Oct 2011

    Posted 10 Oct 2012 Link to this post

    I didn't know under which category this thread should be settled, because I wasn't able to find out where the problem comes from. If I chose the wrong forum, please move the thread to the right one. :)
  3. UI for WinForms is Visual Studio 2017 Ready
  4. RAG
    RAG avatar
    16 posts
    Member since:
    Oct 2011

    Posted 11 Oct 2012 Link to this post

    Can you give me some feedback please, because this issue is obviously blocking my whole work - again... I am not able to make any changes to the UI right now.

    Does it make sense to rebuild the UI, or will I run into the same problems again? Is this a known issue? I inherited this problem from my colleague. I never ran into something like this before so please help me!
  5. Teodor
    Admin
    Teodor avatar
    56 posts

    Posted 11 Oct 2012 Link to this post

    Hi Fabian,

     The issue you described may be caused by missing or non-matching Design assemblies which are required for proper designtime support. I suggest following through the related support article to try fix the issue.

    Don't hesitate to write if you require further assistance.

    Regards,
    Teodor
    the Telerik team
    You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.
  6. RAG
    RAG avatar
    16 posts
    Member since:
    Oct 2011

    Posted 11 Oct 2012 Link to this post

    Hi Teodor!

    Thanks a lot for the hint - I'll try it out tomorrow.

    Regards
    Fabian
  7. RAG
    RAG avatar
    16 posts
    Member since:
    Oct 2011

    Posted 22 Oct 2012 Link to this post

    Hi, :)

    Q3 2012 did fix the problem! Thank you very much for your help!

    Regards!
    Fabian
Back to Top
UI for WinForms is Visual Studio 2017 Ready