Loading Assemblys by Directory in Silverlight 5

Topics: Prism v4 - Silverlight 4
Dec 27, 2011 at 6:50 PM

While reading through the Prism documentation I ran across this note on page 47 talking about IModule:

This functionality is not supported in Silverlight, because the Silverlight security model does not allow you

to load assemblies from the file system

I was just wondering if the "WPF Only" is wrong since you can achieve file system access with Silverlight's out of browser and elevated permissions, or does it not include dynamically loading assemblies. I haven't tried it or researched it beyound quick google searchs but it seems entirely possible.

Dec 28, 2011 at 3:05 PM

Well after thinking about this some more I realized that with silverlight the modules would be stored on the web side and the file system access would be on the client side so that could explain why directory search doesn't work.