How to change the default image location for a Silverlight project in Visual Studio

Re: Visual Studio 2010 Silverlight 4.0 Project.

When configuring the source of an image element using the builder from the property sheet, it has a convenient option for adding an image file to the project and setting it as a source for the control.

Problem:
Visual Studio wants to put these images in the folder with images from the root of my project and even create this folder if it does not exist. However, my project is structured so that the images must go in a different directory (assets \ images). Therefore, I always need to move them after using this builder.

Question:
Is there a way to set up a project or change the default value in Visual Studio so that the builder places the recently imported images in a different directory?

+4
source share
1 answer

I don’t think we can set it up. The best workaround for you would be to create a folder with all the images and add it to the project. From the Source property to control the image in the Properties window, you can select images from the Select Image dialog box.

+1
source

All Articles