摆脱“您无权运行模拟器"在VS2012/WP8 SDK中 [英] Get rid of "You don't have permission to run the emulator" in VS2012/WP8 SDK

查看:232
本文介绍了摆脱“您无权运行模拟器"在VS2012/WP8 SDK中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始在正确安装了Windows Phone 8 SDK的VS 2012 Pro中编写WinPhone应用程序.当我按F5键以在电话仿真器中启动项目时,VS尝试启动WP仿真器,但是我从"Windows Phone Emulator"收到消息您没有运行仿真器的权限".

I'm starting to write WinPhone apps in my VS 2012 Pro with Windows Phone 8 SDK installed properly. When I hit F5 to launch a project in the phone emulator, VS tries to launch the WP emulator, but I get the message "You don't have permission to run the emulator" from "Windows Phone Emulator".

该消息框还包含默认情况下选中的加入Hyper-V管理员安全组"复选框.如果我按重试按钮,则UAC警告会如预期的那样出现,并且WinPhone仿真器正在启动.但是,在关闭模拟器后,此烦人的消息又一次出现.当然,我将其保持打开状态以进行调试,这是指PC上的每一次新工作.

The message box also contains the checkbox "Join the Hyper-V Administrators security group" which is checked by default. If I press the Retry button, the UAC warning appears as expected, and the WinPhone emulator is starting. But this annoying message appears again and again after closing the emulator. Sure I leave it opened for debugging, I mean every new session of work at the pc.

是的,如果我以管理员权限启动VS,则不会出现该消息,但这不是正常过程.当我像往常一样以非提升特权启动VS时,我想摆脱此消息.有可能吗?如果是这样,那我该怎么办?

Yes, the message doesn't appear if I launch VS with admin rights, but that's not a normal process. I'd like to get rid of this message when I launch VS as usual with non-elevated privileges. Is it possible at all? If so, then what should I do?

推荐答案

手动将自己添加到Hyper-V Administrators组中不起作用-直到我阅读了加入Hyper-V Administrators安全组"复选框下的消息.当我注销并再次登录时,问题已解决.

Adding myself to the Hyper-V Administrators group manually did not work - until I read the message under the "Join the Hyper-V Administrators security group" checkbox. When I signed out and logged in again, the problem was solved.

但是我不知道为什么即使选中此复选框也不能自动执行此操作...

But I wonder why this action isn't performed automatically even if we leave the checkbox ticked...

这篇关于摆脱“您无权运行模拟器"在VS2012/WP8 SDK中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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