问题
I have developed a Windows 8.1 Universal app for tablets and phones.
Is there any equivalent of App.config file what we used to have in desktop applications in win 8.1 tablets and phones ?
Searching over the net revealed nothing.
回答1:
No direct equivalent, you need to create something similar by yourself.
回答2:
Try to use ApplicationData.Current.LocalSettings in Windows.Storage namespace. Please refer to: Loading and saving settings
来源:https://stackoverflow.com/questions/30730825/application-configuration-files-for-windows-universal-app