错误DEP10402:无法找到起始页.您可能需要构建您的项目 [英] Error DEP10402: Could not locate the start page. You may need to build your project
问题描述
我的一个Visual Studio 2015 Cordova项目最近开始尝试使用IOS/Ripple-iPhone(任何版本)进行调试时出现此错误:
One of my Visual Studio 2015 Cordova projects has recently started exhibiting this error when trying to debug with IOS / Ripple - iPhone (any):
错误DEP10402:无法找到起始页.您可能需要构建您的项目.
Error DEP10402: Could not locate the start page. You may need to build your project.
奇怪的是,它仅发生在这个项目中,并且可以在Android/Ripple上正常工作.我还可以很好地将其部署和调试到本地/远程设备.
Oddly it only occurs in this one project and it works fine with Android / Ripple. I can also deploy and debug to local / remote devices just fine.
我当然尝试过重建,清除Cordova缓存以及重新启动.
I've tried rebuilding of course as well as clearing the Cordova cache as well as rebooting.
有什么想法吗?
推荐答案
上述两种解决方案均不适用于我.我执行了以下步骤:
Both the above solutions didn't work for me. I did this steps:
1. Locate the start page in config.xml. Usually, it is index.html.
2. Make a copy the index.html and paste it back. The filename is like "index - Copy.html".
3. Delete the original index.html
4. Rename "index - Copy.html" back to index.html
5. Start Debug.
对我有用.
这篇关于错误DEP10402:无法找到起始页.您可能需要构建您的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!