I have a "Localization" folder in the "Assets" directory of my UWP project. The folder contains different xml-files that I want to read into a textmanager. When I create a new DirectoryInfo-object like this
new DirectoryInfo("/Assets/Localization");
it can't find the directory. Do I have to pass another root directory prefix for where the app is stored?
This should work:
var localizationDirectory = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFolderAsync(@"Assets\Localization");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With