Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: How to show image in Shell from an external assembly in WPF using PRISM 5 and MEF

$
0
0
Hi,
i have a composite application that loads dynamically an external assembly using prism 5 and MEF, the module contains an image, how can i show this image on my shell?
The module is loaded dynamically by using DirectoryCatalog and it's not referenced on the start-up project.
i tried the following but it doesn't work:
<ImageSource="pack://application:,,,/MyDllFileName;component/Images/icon.png"/>
and
<ImageSource="/MyDllFileName;component/Images/icon.png"/>
how can i solve this problem please?

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>