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

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

问题描述

我开始在正确安装 Windows Phone 8 SDK 的 VS 2012 Pro 中编写 WinPhone 应用程序.当我按 F5 在手机模拟器中启动一个项目时,VS 尝试启动 WP 模拟器,但我从Windows Phone 模拟器"收到消息您无权运行模拟器".

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 管理员组不起作用 - 直到我阅读了加入 Hyper-V 管理员安全组"复选框下的消息.当我退出并重新登录时,问题解决了.

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天全站免登陆