错误DEP10402:无法找到起始页.您可能需要构建您的项目 [英] Error DEP10402: Could not locate the start page. You may need to build your project

查看:76
本文介绍了错误DEP10402:无法找到起始页.您可能需要构建您的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个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屋!

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