I'd like to list files in a given folder (which is in another project) in Silverlight. Actually, they are images.
Project A : "/Images/a.png" "/Images/b.png" Project B : I want to list the files in "Project A/Images/"
I haven't found a way to do it, can you help me ?
Thanks
You can use reflection to perform this at runtime. If you set the build action of your images to "embedded resource", you can enumerate them at runtime.
Note, if the images are in a different project / assembly, you may have to navigate to this assembly before enumerating the resources.