在 Windows 7 上,除非我通过将其设置为“以管理员身份运行”来提升其权限,否则我的 Windows 应用程序将无法运行。无论如何我可以在安装程序项目或 Windows 应用程序本身上设置它吗?
最佳答案
是的,包括一个应用程序 list 你可以做到:
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="true"/>
关于.net 2.0 Windows 应用程序需要提升的 uac 权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4377727/