This is a migrated thread and some comments may be shown as answers.
Where should we put Telerik assemblies when not in GAC
4 Answers 34 Views
This is a migrated thread and some comments may be shown as answers.
CSurieux
Top achievements
Rank 2
CSurieux asked on 07 Dec 2009, 07:47 PM
Hello,

I am using the xap created with Telerik as dynamically loaded modules from different folders in my web application.
Where should I put the Telerik assemblies if I can't install them in GAC ?

Thanks for answer.
CS

4 Answers, 1 is accepted

Sort by
0
CSurieux
Top achievements
Rank 2
answered on 09 Dec 2009, 09:13 AM
Finally installing these assemblies in the Bin folder for Web Application seems Ok.
Curious I was not expecting Silverlight to respect the .net Application Domain ?

CS
0
Valeri Hristov
Telerik team
answered on 09 Dec 2009, 12:52 PM
Hello Christian,

The Telerik Silverlight assemblies are included in the Silverlight XAP file, so you don't need them in the application's Bin folder when deploying. You just need to set the references and Visual Studio will generate the XAP files automatically.

All the best,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
CSurieux
Top achievements
Rank 2
answered on 09 Dec 2009, 01:01 PM

Hello Valeri,

Thanks you, it seems I am fighting against myself :)

Little questions related to your answer:

  • if I realize several xap files, they will all include the Telerik assemblies, is there a way to share these assemblies
  • when Telerik upgrade its assemblies I need a full rebuild, not just changing the assemblies like in asp.net

Best regards
CS

0
Valeri Hristov
Telerik team
answered on 09 Dec 2009, 04:35 PM
Hi Christian,

Up to the questions:

- The highlighted option in the Properties pane (see the attached screenshot) controls whether the corresponding assembly will be included in the XAP file, or not. However, when loading the additional XAP files, you should take care of loading the assemblies (or use Prism or other framework that will take care of them for you). For example, our online demos' initial XAP file contains only the Controls, Input and Navigation assemblies, plus the empty demo application. When you click on GridView, for example, we load an additional XAP file, that contains the GridView assembly and the GridView examples.

- Yes, you need to do a full rebuild.

Regards,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Asked by
CSurieux
Top achievements
Rank 2
Answers by
CSurieux
Top achievements
Rank 2
Valeri Hristov
Telerik team
Share this question
or