问题描述
你好
我正在Windows 10 PC上使用Visual Studio 2015开发Windows Phone 8.1应用程序,直到5个小时前一切正常.从那时起,我无法将任何应用程序(甚至Windows 10应用程序)部署到运行的Lumia 920中. Windows10.无论我尝试什么,都会收到以下错误:严重性代码说明项目文件行抑制状态错误错误:DEP0001:意外错误:找不到元素. (来自HRESULT的异常:0x80070490)".
I was developing a Windows Phone 8.1 application with Visual Studio 2015 on my Windows 10 PC and everything was working fine until 5 hours ago. From that time I am not able to deploy any application (even Windows 10 applications) to my Lumia 920 running Windows 10. Whatever I try I get the following error: "Severity Code Description Project File Line Suppression State Error Error : DEP0001 : Unexpected Error: Element not found. (Exception from HRESULT: 0x80070490)".
我尝试创建一个新项目(Windows Phone 8.1和Windows 10 Universal App)并将其部署到我的设备中,但仍然无法正常工作.我也尝试将其部署到我妻子的Lumia 640上,但没有结果.最后,我尝试从Visual Studio 2013进行部署 在我的笔记本电脑上,它再次给我同样的错误.
I have tried creating a new project (both Windows Phone 8.1 and Windows 10 Universal App) and deploying it in my device and it still doesn't work. I also tried deploying to my wife's Lumia 640 with no result. Finaly I tried deploying from Visual Studio 2013 on my laptop and again it gives me the same error.
还有其他人遇到同样的问题吗?
Has anyone else the same problem?
推荐答案
根据您的描述,您的Windows Phone 8.1应用程序之前可以正常运行,并且可以部署到您的设备上.请在发生此问题之前检查是否更新了任何SDK.
According to your description, your Windows Phone 8.1 application works fine before and can deploy to your devices. Please check whether you update any SDKs before this problem occurs.
然后,请创建一个新项目以部署到模拟器.如果它可以部署到模拟器,请尝试将项目部署到模拟器.如果也无法部署到模拟器,建议您重置/修复Visual Studio,然后重试.
Then please create a new project to deploy to emulator. If it can deploy to emulator then please try deploy your project to emulator. If also can't deploy to emulator, I suggest you reset/repair your Visual Studio and try again.
如果它可以部署到仿真器,则问题与您的设备有关.请告诉我们您的Windows SDK和手机的版本.我们需要确保两个版本都兼容.
If it can deploy to emulator, the problem is more related to your devices. Please tell us the version of your Windows SDK and your Phone. We need to make sure both of versions are compatible.
最好的问候,
Weiwei
Best Regards,
Weiwei
这篇关于Visual Studio错误:DEP0001和来自HRESULT的异常:0x80070490的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!