Why does Telerik.Windows.Controls.Chart.zip show up in my ClientBin folder

3 posts, 1 answers
  1. Ernie S
    Ernie S avatar
    33 posts
    Member since:
    Apr 2014

    Posted 09 Jul 2014 Link to this post

    I am working on a project that uses the Telerik controls extensively including charting.  For some reason, compiling the project now puts a the file Telerik.Windows.Controls.Chart.zip, which contains the like-named DLL inside, in the ClientBin folder next to the xap files.  If I remove the file and rebuild it shows up again.

    I assume that the file is needed for reference for some reason in which case I will have to live with it.  But I would rather try to keep the project free of unnecessary files if this is an optional thing.

    Thanks
    Ernie
  2. Answer
    Martin
    Admin
    Martin avatar
    1101 posts

    Posted 14 Jul 2014 Link to this post

    Hello Ernie,

    When you run a Silverlight application the VS will create a file with .xap extension and deploy it to the web site. This file is actually an archive which contains the dll's that are used in your application (the assembly with the application logic, resources and external assemblies). If you change the extension of the XAP file to .zip you can extract its content and see the files.

    By default all assemblies are added in a single XAP file, however, if you use the VS application library caching, the external assemblies (like Telerik.Windows.Controls.Chart) will be added in separate .zip files and loaded on demand when the application needs them. You can turn on/off the application library caching by checking/unchecking the "Reduce XAP size by using application library caching" check box located in the Silverlight tab of the project's properties. In addition you can take a look at the following blog post. However, even if you turn off the caching, this will not change the fact that the assemblies will be deployed with the .xap file.

    I hope this information answers your question.

    Regards,
    Martin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. DevCraft banner
  4. Ernie S
    Ernie S avatar
    33 posts
    Member since:
    Apr 2014

    Posted 14 Jul 2014 Link to this post

    Thanks Mark.  Simplest answers are the best!  That was it, not sure how it got turned but turning it off did the trick.

    Thanks again.

    Ernie
Back to Top