开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜