Assembly cache and File not found problem

Topics: Prism v4 - Silverlight 4
Jan 31, 2013 at 9:28 AM
I have Silverlight 5.0 application divided into modules – recently I was optimizing my application with assembly cache future by adding library.extmap.xml to shared libraries. After doing this I have a FileNotFound error when one of the modules is loaded into memory (in module catalog it has InitializationMode set to WhenAvailable). When I add this dll to Shell everything is ok but I don’t want this dll in shell. It looks like this dll is not loaded when module is loading – is there any way to fix this?

Ps. Copy Local is set to true in this module.
Feb 1, 2013 at 11:53 AM

As far as I know using Application Library Caching feature in Prism Modules won't work as out of the box. This has been reported and discussed in this related work item:
Also as mentioned there, for additional information regarding this subject and a possible workaround for this behavior I believe you could also find the following blog post interesting:
I hope you find this helpful,

Agustin Adami
Feb 1, 2013 at 12:03 PM
Tnx I will look into it