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 he开发者_如何学编程re?
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.
精彩评论