This question is locked. New answers and comments are not allowed.
Hi,
I have a prism based solution where both my shell and modules are marked to use application library caching. I'm caching libraries from prism, telerik and silverlight toolkit. The only problem I have is that in my Shell's AppManifest Visual Studio generates more ExternalParts that reference directly each Telerik assembly that I use..but I want to pack all telerik assemblies in a file called Telerik_2_0812_1040.zip because of upgrade versions.
I have done this with prism and silverlight toolkit and VS doesn't generate a new External Part in my xap, so it works well. The only problem are with Telerik Controls because when a client downloads the main xap the browser will try to download each Telerik assembly referenced in the ExternalParts that VS generated and also the Telerik_2_0812_1040.zip file that I manually specified.
I noticed that this only happened after I installed my licensed version of Telerik Controls for Silverlight. Before that, VS wouldn't generate the Telerik assembly ExternalParts simply because I deleted the .extmap files from my libraries folder.
So I went to C:\Program Files x86\Telerik\etc and deleted the .extmap files that were there and voila, Visual Studio doesn't add any more External Parts in my shell's AppManifest..it does worse, he includes the telerik assemblies in the xap itself, even though they are marked with Copy Local as False.
Just a little more info: my Shell doesn't have ANY DIRECT reference to Telerik assemblies. Instead I reference (Copy Local TRUE) another project that uses about 9 Telerik assemblies marked as Copy Local FALSE. Could this be the reason? Do I need to create DIRECT references for Telerik assemblies in my shell xap and mark them with Copy Local FALSE just to tell VS not to include those assemblies in the xap?
As of my writing, I just tried to reference the telerik assemblies in the shell xap and mark them as copy local false and it worked. VS doesn't generate External Parts nor includes the assemblies in the xap. So, maybe this is a bug on VS? Just because I include a reference with copy local as True to a project that has assemblies marked as copy local false, VS thinks that those assemblies are meant to be included in the xap.
Does anyone else has had similar issues?
Best regards,
Manuel FelĂcio.
I have a prism based solution where both my shell and modules are marked to use application library caching. I'm caching libraries from prism, telerik and silverlight toolkit. The only problem I have is that in my Shell's AppManifest Visual Studio generates more ExternalParts that reference directly each Telerik assembly that I use..but I want to pack all telerik assemblies in a file called Telerik_2_0812_1040.zip because of upgrade versions.
I have done this with prism and silverlight toolkit and VS doesn't generate a new External Part in my xap, so it works well. The only problem are with Telerik Controls because when a client downloads the main xap the browser will try to download each Telerik assembly referenced in the ExternalParts that VS generated and also the Telerik_2_0812_1040.zip file that I manually specified.
I noticed that this only happened after I installed my licensed version of Telerik Controls for Silverlight. Before that, VS wouldn't generate the Telerik assembly ExternalParts simply because I deleted the .extmap files from my libraries folder.
So I went to C:\Program Files x86\Telerik\etc and deleted the .extmap files that were there and voila, Visual Studio doesn't add any more External Parts in my shell's AppManifest..it does worse, he includes the telerik assemblies in the xap itself, even though they are marked with Copy Local as False.
Just a little more info: my Shell doesn't have ANY DIRECT reference to Telerik assemblies. Instead I reference (Copy Local TRUE) another project that uses about 9 Telerik assemblies marked as Copy Local FALSE. Could this be the reason? Do I need to create DIRECT references for Telerik assemblies in my shell xap and mark them with Copy Local FALSE just to tell VS not to include those assemblies in the xap?
As of my writing, I just tried to reference the telerik assemblies in the shell xap and mark them as copy local false and it worked. VS doesn't generate External Parts nor includes the assemblies in the xap. So, maybe this is a bug on VS? Just because I include a reference with copy local as True to a project that has assemblies marked as copy local false, VS thinks that those assemblies are meant to be included in the xap.
Does anyone else has had similar issues?
Best regards,
Manuel FelĂcio.