开发者

Allow ClickOnce application to read/write to c:\ProgramData

开发者 https://www.devze.com 2023-02-15 11:03 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消