How to read a file shipped with the app in Windows 8 Metro
问题 I've got a text file that ships with my app and I want to display its contents on the screen. Anyone know how to do that? The usual file IO doesn't seem to work for Metro. Thanks 回答1: In my app I am reading a XML file that comes with the app, you can tweak it to read any type of file public class LocalStorage { private const string SyndicationFeedCategoriesFileName = "FeedCategories.xml"; private StorageFile _storageFile; private StorageFolder _storageFolder; public async Task<XmlDocument>