views:

15

answers:

0

In order to minimize the size of my XAPs, I want to move my images from being embedded in the project to an external directory, possibly ClientBin/SilverlightImages. I know that I can use a URI and point to this directory like so: , but Blend and the Visual Studio 2010 designer do not show the image.

One suggestion from a co-worker is to use a ViewModel and return paths based on if it's in Design mode, but that sounds like a lot of extra binding and changing of sources, and possibly limiting in the future.

What's a good approach to this problem?