找不到 SDK“WindowsMo​​bile,版本=10.0.18362.0";部署到 HoloLens 时 VS17 中的错误 [英] Could not find SDK "WindowsMobile, Version=10.0.18362.0" error in VS17 when deploying to HoloLens

查看:63
本文介绍了找不到 SDK“WindowsMo​​bile,版本=10.0.18362.0";部署到 HoloLens 时 VS17 中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 HoloLens(和 Microsoft 的生态系统)的新手,正在关注 我已确认我已遵循

我的 Windows 10 计算机在 1903 上运行,我的 HoloLens 在 1804 上运行,并且我的计算机上安装了 Windows SDK 10.0.17x 和 10.0.18x(通过 Visual Studios 安装程序和 此链接).我还测试了使用 10.0.17x SDK 部署应用程序,但结果相同.

我可以使用 HoloLens 中的 Holographic Remoting 应用程序从 Unity 模拟我的应用程序,但我无法从 Visual Studios 部署它.是什么导致了这个错误,我该如何解决?

更新:

我尝试重新安装 Windows 10 SDK(10.0.17x 和 10.0.18x),但这并没有解决问题.我的 Windows 10 SDK 安装在我的 D: 驱动器中,如果这有什么不同的话.

更新 2:

我在某处读到,如果您只是从 Visual Studios 的项目树中删除这些文件,错误就会消失.确实如此,之后我可以正常构建和运行似乎没有问题,但删除这样的 SDK 文件肯定有问题......删除它们安全吗?

感谢您的帮助!

解决方案

我设法通过删除 vxcproj 文件中对 Mobile SDK 的引用来使其工作.好像不需要!应用成功部署到 Hololens!

I'm new to HoloLens (and Microsoft's ecosystem) and am following this tutorial to learn. One of the steps is to deploy from Visual Studios to HoloLens, but when I try to I get this run-time error. I have confirmed that I have followed this guide from Microsoft to set up my development environment, but my error still persists.

In Unity, these are by build settings and Player settings as instructed in the tutorial:

My Windows 10 computer is running on 1903, my HoloLens is on 1804, and I have both Windows SDK 10.0.17x and 10.0.18x installed on my computer (via Visual Studios installer and this link). I have also tested deploying the app using the 10.0.17x SDK, but end with the same results.

I can simulate my app from Unity using the Holographic Remoting app in HoloLens, but I just can't deploy it from Visual Studios. What is causing this error and how can I solve it?

Update:

I have tried re-installing the Windows 10 SDK (both 10.0.17x and 10.0.18x), but this did not resolve the problem. My Windows 10 SDK is installed in my D: drive if that would make any difference.

Update 2:

I read somewhere that if you simply delete those files from the project tree in Visual Studios, the error will go away. Indeed it did and I could build and run just fine after that seemly without issue, but there must be something wrong with deleting SDK files like that... Is deleting them safe?

Thank you for your help!

解决方案

I managed to get this to work by deleting the reference to the Mobile SDK in the vxcproj file. It doesn't seem to be required! App deployed to Hololens successfully!

这篇关于找不到 SDK“WindowsMo​​bile,版本=10.0.18362.0";部署到 HoloLens 时 VS17 中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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