近期解决方案列表中的 Visual Studio 以管理员身份运行 [英] Visual Studio Run As Admin from Recent solutions list
本文介绍了近期解决方案列表中的 Visual Studio 以管理员身份运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想以管理员身份运行 Visual Studio 2017/2019/2022当我从任务栏的最近列表中选择一个项目时,即.通过 Explorer/Shell 快捷方式打开项目时.
I would like to run Visual Studio 2017/2019/2022 as admin when I select a project from the recent list in the taskbar, ie. when opening a project via Explorer/Shell shortcuts.
我确实使用了设置:属性->快捷方式->高级->以管理员身份运行复选框.
I did use the setting: properties -> shortcut -> advanced -> run as admin checkbox.
很遗憾,这不会导致 devenv 以管理员身份运行.
Unfortunately, this does not result in devenv running as Administrator.
关于如何解决这个问题的任何想法?
Any ideas on how to fix this?
推荐答案
- 关闭 Visual Studio 的所有实例
- 右键单击任务栏中的 Visual Studio 图标
- 右键单击 Visual Studio,然后单击属性
- 点击打开文件位置按钮
- 右键单击该文件夹中的 devenv.exe 文件
- 选择兼容性疑难解答
- 选择疑难解答程序
- 选择程序需要额外的权限
- 点击测试程序并等待程序启动
- 然后点击下一步按钮
- 选择是,保存此程序的这些设置
- 点击关闭
- 从最近的列表中重新打开您的项目
这篇关于近期解决方案列表中的 Visual Studio 以管理员身份运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文