This is a migrated thread and some comments may be shown as answers.

Bug in Designer for any control that uses a custom shape

2 Answers 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pawz
Top achievements
Rank 1
Pawz asked on 11 Oct 2007, 08:11 AM
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 Answers, 1 is accepted

Sort by
0
Angel
Telerik team
answered on 11 Oct 2007, 04:44 PM

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,
Angel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Pawz
Top achievements
Rank 1
answered on 11 Oct 2007, 11:32 PM
That would most likely be the cause then, since I also have Resharper installed. Good to know!
Tags
General Discussions
Asked by
Pawz
Top achievements
Rank 1
Answers by
Angel
Telerik team
Pawz
Top achievements
Rank 1
Share this question
or