I need to access a subfolder in the application folder whose path is:
C:\Users\myname\Documents\Visual Studio 2015\Projects\App2\App2\Templates
and retrieves all the data inside. I need to read the xml files in a subfolder of it, parse them, and store them in a dictionary. I have the parsers ready but just don't know how I can access the folder?
I tried
StorageFolder localFolder = Windows.ApplicationModel.Package.Current.InstalledLocation;
StorageFolder templateFolder = await localFolder.GetFolderAsync("Templates");
But it didn't work. An error occurred indicating that folder "Templates" could not be found. However, when I tried "Assets" instead, which had been in the folder ever since the project was created, it worked. How can I access it?