delete
delete

Reputation:

I added a new XML file to my solution, but when I press F5 to test it I can't find the .xml file in the Debug folder

What can be the problem here?

Upvotes: 3

Views: 190

Answers (1)

Michael Haren
Michael Haren

Reputation: 108336

Click on the file and open its properties (F4), then change its Build Action to "Content". This will cause it to be included whenever "Content" files are deployed. In this case, you may also want to consider enabling the Copy to Output Directory option (see below), which will copy the chosen files to the output folder. When copied, directory structure (if applicable) will be maintained, too.

alt text

Upvotes: 2

Related Questions