VS Express 2012,Windows Phone 8 SDK:接口未知 [英] VS Express 2012, Windows Phone 8 SDK: The interface is unknown

查看:29
本文介绍了VS Express 2012,Windows Phone 8 SDK:接口未知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法再将应用程序从 Visual Studio Express 2012 部署到我的 Windows Phone 8 设备.我总是在控制台中得到以下两行:

I can't deploy applications to to my Windows Phone 8 device from Visual Studio Express 2012 anymore. I always get the following two lines in the console:

Deployment of application to device failed.
The interface is unknown.

模拟器也不再工作(xde.exe 崩溃了).所有这些都奏效了(Hyper-V 处于活动状态).

The emulator also does not work anymore (xde.exe just crashes). All that worked once (Hyper-V is active).

所有发生的事情都没有改变我的应用程序(新的 hello world 应用程序也会发生同样的情况).问题不是我的手机,我测试了不同的手机(甚至不同型号),同样的问题.

All that happened without a change to my app (the same happens with a fresh hello world app). The problem is not my phone, I tested a different phone (even different model), same problem.

我已经完全删除并重新安装了包括 Visual Studio 在内的 Phone SDK.

I already completely removed and reinstalled the Phone SDK including Visual Studio.

这个问题可能在我更新到 Windows 8.1 后就出现了,但我不确定这一点.

The problem might have occurred since I updated to Windows 8.1 but I am not sure about this.

如果有人知道这里发生了什么,我将非常感谢您的帮助.

If anybody has a clue of what is going on here I would highly appreciate your help.

推荐答案

既然您已经尝试删除/重新安装 VS 和 SDK,请尝试在您的 Win8.1 机器上创建一个新用户帐户并从中运行 VS.如果它有效,则问题可能是 CurrentUser 注册表配置单元中的某些设置,Remove 并不总是清除这些设置.重新安装已经安装的 VS 和 SDK 可能会更好.

Since you've already tried removing/reinstalling VS and SDK, try creating a new user account on your Win8.1 box and running VS from that. If it works, the problem was probably some settings in CurrentUser registry hive, which Remove doesn't always clean up. Reinstall the already-installed VS and SDK may work better.

'interface' 错误意味着这可能是一些 COM 问题,并且涉及注册表.如果您能找出哪个 DLL 包含该接口,您可以使用 (admin command line) > 修复它.REGSVR32 .当您尝试通过 SystemInternals ProcessMonitor

The 'interface' error means this is likely some COM issue, and that implicates registry. If you can figure out which DLL contains the interface, you may be able to fix it with (admin command line) > REGSVR32 <dllPath>. You can trace the registry accesses being made when you try to debug the app via SystemInternals ProcessMonitor

这篇关于VS Express 2012,Windows Phone 8 SDK:接口未知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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