I store my Database in the c:\ProgramData\MyApp folder. How can I get access to that folder? I see there's a way to edit the App manifest to allow permissions, but I can't seem to find the proper permission.
The app is installed from the i开发者_高级运维nternet.
Anyone know the trick here?
Thanks in advance
Normal users do not have write access to this folder.
You need to run as Administrator.
If you want to, you can run as Administrator once, create your subfolder, and modify its permissions to grant access to the Users group.
精彩评论