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

XmlSerializers.dll

1 Answer 136 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Rock
Top achievements
Rank 1
Rock asked on 08 Oct 2013, 08:18 PM
In our product, we have used sgen to create .xmlserializers.dll's for all of the classes we serialize/deserialize for three reasons.

First, because we've run into cases where customers had .NET installs that actually failed to dynamically generate the xml serializer classes on the fly.
Second, it improves performance.
Third, we break when exceptions are thrown. This allows us to improve our code by eliminating exception-throwing as much as possible. When there is not a prebuilt xmlserializer dll, the framework throws an exception, which breaks into the debugger. Not a problem for our customers, but we don't want to turn this off for our developers, who use it to find problems in the code.

We cannot generate xml serializer dlls for the Telerik stuff, because they need to be signed using the same key used for the assembly the types come from. Could you guys provide these dlls for your releases?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 11 Oct 2013, 02:15 PM
Hello Rock,

Thank you for contacting Telerik support.

In this case you can download the source code project build it and then use the built assemblies to generate the XmlSerializers dll files. Note that you have to specify the ".snk" file as parameter when using sgen. The source code can be downloaded from your Telerik account (see attached pictures).

Please let me know if there is something else I can help you with. 

Regards,
Dimitar
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Dock
Asked by
Rock
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or