PhoneGap 3.3.0 WP8项目给MSBuild错误 [英] PhoneGap 3.3.0 WP8 project giving MSBuild error

查看:177
本文介绍了PhoneGap 3.3.0 WP8项目给MSBuild错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经决定尝试PhoneGap并为其安装了Node软件包。 (Phonegap 3.3.0)



Android项目工作正常。但是当我尝试构建一个WP8(或WP7)应用程序,我得到这个错误:


构建wp7项目时出错。 :MSBuild在构建cordova-wp7以进行调试时,
无法创建.xap。


我运行的是Windows 8 Pro 64 bit,Visual Studio 2013 Ultimate,NodeJS& PhoneGap 3.3.0



一个sidenote:WP8使用Cordova项目模板创建的项目工作完全正常。

解决方案

我遇到了同样的问题...



也许这是所需文件(用于编译)不在所述路径的问题,因为我可以通过运行在Visual Studio命令提示符&编译成功:




I've decided to try PhoneGap and installed the Node package for it. (Phonegap 3.3.0)

Android projects work fine. But when I try to build a WP8 (or WP7) App I get this error:

An error occurred while building the wp7 project.ERROR: MSBuild failed to create .xap when building cordova-wp7 for debugging.

I'm running Windows 8 Pro 64 bit, Visual Studio 2013 Ultimate, NodeJS & PhoneGap 3.3.0

A sidenote: WP8 Projects created with the Cordova Project Templates work perfectly fine. It's the command line version that's giving me trouble.

解决方案

I faced the same issue...

Perhaps it's an issue of the required files (for compilation) not being at the said path, since I could resolve it by running in the Visual Studio Command Prompt & compile successfully:

这篇关于PhoneGap 3.3.0 WP8项目给MSBuild错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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