Custom Action error when extension touches references

7 posts, 0 answers
  1. Kaya
    Kaya avatar
    3 posts
    Member since:
    Feb 2010

    Posted 13 Jul 2011 Link to this post

    I'm using the Q2 2011 Radcontrols for Winforms and, whenever I use one of the extension commands that modify project references like:
    • Convert to Telerik WinForms Applications
    • Configure Project
    • Upgrade Wizard

    I get the dialog with the available Components and Themes, but, when I click Finish, I receive an error that says:

    Error executing custom action 
    Telerik.WinControls.VSX.Actions.UpdateReferencesAction: Object reference not set to an instance of an object.

    I do not receive this error if I remove all COM, Project, and external dll references from that project prior to launching the dialog.  Is this expected?  The Radcontrols work fine as long as I add the references manually or let VS do the work by dragging the control from the toolbox.  For the record, I'm a brand new user so I can't say if this worked with previous versions.

    Thanks!

  2. Kaya
    Kaya avatar
    3 posts
    Member since:
    Feb 2010

    Posted 13 Jul 2011 Link to this post

    I've done some more testing and COM references appear to mess this up in all cases.  Project references only cause a problem if the Project name is different than the Assembly name.  External DLLs work fine.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Andrey
    Admin
    Andrey avatar
    244 posts

    Posted 14 Jul 2011 Link to this post

    Hello Kaya,

    I am sorry to hear you are experiencing issues like the ones you describe.

    We have identified some issues with the latest Upgrade Wizards. In the most common cases, the workaround is simply rebuilding your solution and running our wizard again.

    We will do our best to fix the issue and deliver an update for the Visual Studio Extensions mid next week.

    Please, bear with us some more.

    All the best,
    Andrey
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  5. John
    John avatar
    3 posts
    Member since:
    Dec 2010

    Posted 19 Jul 2011 Link to this post

    I get this as well. In my case it was a  reference to a missing assembly.  Once I removed that reference, the wizard worked OK.
  6. Marcel Härry
    Marcel Härry avatar
    28 posts
    Member since:
    Jul 2009

    Posted 29 Jul 2011 Link to this post

    Same Problem here:
    All uninstalled, reinstalled has not helped. Creating new project and Convert to Telerik Site works, but no way with existing one.

    Any help apreciated.
    Marcel

  7. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 29 Jul 2011 Link to this post

    Hi guys,

    @John, glad the problem is fixed on your side and thanks for sharing!
    @Marcel, the problem is fixed now. Can you check the workaround, described in the Q2 2011 Upgrade Wizard Issues Resolved post?

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  8. Marcel Härry
    Marcel Härry avatar
    28 posts
    Member since:
    Jul 2009

    Posted 29 Jul 2011 Link to this post

    problem solved, thank you
    Marcel
Back to Top
UI for WinForms is Visual Studio 2017 Ready