Bug in Designer for any control that uses a custom shape

3 posts, 0 answers
  1. Pawz
    Pawz avatar
    51 posts
    Member since:
    Aug 2007

    Posted 11 Oct 2007 Link to this post

    Found this odd bug happening in my designer.

    If you put a control (like, say, a radButton control) on a brand new form, use the properties to navigate to the RootElement.Children collection, and open up the collection editor screen.. if you click on the Shape drop down, you'll get a series of
    "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information".

    After clicking ok about 8 or 10 times, it goes away and you can pick shapes from the list. However, it doesn't seem to add any custom shapes to your form, like it usually does if you use the UI editor. And yet, once you're past the errors, it seems to load & run fine.

    Edit: Ah, I see there is bug reporting and such in the Client.Net area.. I'll submit this as a bug then as well.

  2. Angel
    Angel avatar
    121 posts

    Posted 11 Oct 2007 Link to this post

    Hi Pawz,

    Thank you for reporting this issue.

    The message box you describe appears when an exception is thrown from GetTypes() for some of the assemblies that VisualStudio references. These assemblies can be plugins (Resharper, for example), or assemblies that you are referencing in your projects.

    We made several tests in-house and found that, for example, Resharper assemblies are causing that message box to appear. Of course, in your case the assemblies may be different.

    We completely agree that no message boxes should be shown for failures with third party assemblies. This issue will be further examined and fixed. In the upcoming release, the message box will show the assembly name and more details about the exception.

    If we could be of any further assistance, please do not hesitate to contact us.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
  4. Pawz
    Pawz avatar
    51 posts
    Member since:
    Aug 2007

    Posted 11 Oct 2007 Link to this post

    That would most likely be the cause then, since I also have Resharper installed. Good to know!
Back to Top