Silverlight: Download local files with WebClient
- by David
The directory structure of my Silverlight project is like the following:
\Bin
- MainModule.xap
- \Images
--- Image1.png
--- Image2.png
- \Modules
--- SubModule.xap
I want to be able to run it through either a web server or through Visual Studio directly (for debugging purposes I want to bypass content downloading).
In my media loading code I do…