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

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

问题描述

我决定尝试使用 PhoneGap 并为其安装 Node 包.(Phonegap 3.3.0)

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

Android 项目运行良好.但是当我尝试构建 WP8(或 WP7)应用程序时,我收到此错误:

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

构建 wp7 项目时出错.错误:MSBuild 失败在构建用于调试的cordova-wp7 时创建.xap.

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

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

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

旁注:使用 Cordova 项目模板创建的 WP8 项目运行良好.给我带来麻烦的是命令行版本.

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...

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

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天全站免登陆