"的ClickOnce不支持请求执行级别与QUOT'requireAdministrator'; [英] "ClickOnce does not support the request execution level 'requireAdministrator.'"

查看:2086
本文介绍了"的ClickOnce不支持请求执行级别与QUOT'requireAdministrator';的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我在写需要访问注册表中的应用程序。
我还没有触及任何构建设置,想要得到的东西之前,我添加了其他触摸,如描述或名称的工作。


出于蓝,我得到不会消失的错误。 的ClickOnce不支持请求执行级别'requireAdministrator'。现在,我还没有在此应用程序的ClickOnce感动。所有我做了包括清单文件,要求这些权限。


我现在的问题是,这个错误不会消失,我不能编译我的程序。做什么有什么建议? (附注:我即将上床睡觉,所以我会检查这个明天下午)

So I was writing an application that requires access to the registry. I had not touched any build settings, wanting to get the thing working before I added the other touches, such as a description or name.

Out of the blue, I get an error that will not go away. ClickOnce does not support the request execution level 'requireAdministrator'. Now, I hadn't touched ClickOnce in this application. All I had done was include a manifest file requesting these permissions.

My problem now is that this error will not go away, and I cannot compile my program. Any advice on what to do? (Side note: I am about to go to bed, so I will check this tomorrow afternoon).

推荐答案

修改::该评论给出了一个很好的答案,太多

This comment gives a good answer, too.

点击出现一次得到启用,只要你点击发布,无论是你想让它还是不行!如果您正在使用requireAdministrator那么看来,你不能使用ClickOnce的,因此不能发布你的项目。

Click once appears to get enabled whenever you click "Publish", whether you want it to or not! If you are using "requireAdministrator" then it appears that you cannot use ClickOnce, and therefore cannot "Publish" your project.

原文:

原来,安全选项卡下的启用的ClickOnce安全设置被选中。虽然我没有检查它。
不管怎么说,取消选中已停止的ClickOnce给我的错误。这花了一段时间发现...

Turns out that under the Security tab, "Enable ClickOnce security settings" was checked. Even though I didn't check it. Anyway, unchecking that stopped ClickOnce giving me errors. That took a while to find...

这篇关于"的ClickOnce不支持请求执行级别与QUOT'requireAdministrator';的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆