Visual Studio 2015 Using Incorrect Cordova Version

若如初见. 提交于 2019-12-11 02:19:57

问题


I'm new to Cordova development, and I'm using Visual Studio 2015 RC on Windows 10. I'm targeting Cordova 5.0.0, however, when I'm debugging using the Windows Phone emulator, and I take a look at the dynamic code, I notice that Visual Studio is pulling down Cordova 3.9.0-dev. Am I missing something here?

Edit

I'll note, that other than this problem over here, I'm not seeing any obvious issues with this, and the Cordova plugins I'm using do work.


回答1:


I'm not a GIT user, but, it appears that Cordova.js is different for each platform (Windows, Windows Phone, iOS, Android, etc...). For Windows Phone 8, which I've been focusing on, it looks like the latest version is in fact 3.9.0-dev, that is assuming I'm looking in the right place.

https://git-wip-us.apache.org/repos/asf

https://git-wip-us.apache.org/repos/asf?p=cordova-windows-phone.git;a=summary

https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=summary



来源:https://stackoverflow.com/questions/31396117/visual-studio-2015-using-incorrect-cordova-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!