2 posts, 0 answers
  1. Rock
    Rock avatar
    4 posts
    Member since:
    Sep 2013

    Posted 08 Oct 2013 Link to this post

    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?
  2. Dimitar
    Dimitar avatar
    1321 posts

    Posted 11 Oct 2013 Link to this post

    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. 

    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 >>
  3. DevCraft R3 2016 release webinar banner
Back to Top