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

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

2 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ernie S
Top achievements
Rank 1
Ernie S asked on 09 Jul 2014, 12:28 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 14 Jul 2014, 08:26 AM
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.
 
0
Ernie S
Top achievements
Rank 1
answered on 14 Jul 2014, 12:29 PM
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
Tags
General Discussions
Asked by
Ernie S
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Ernie S
Top achievements
Rank 1
Share this question
or