VS2015 RC到RTM Cordova项目 [英] VS2015 RC to RTM Cordova project nuked

查看:122
本文介绍了VS2015 RC到RTM Cordova项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚更新了VS2015从RC到RTM的安装。



我正在使用cordova工具开发移动应用程序。升级后,每次尝试构建应用程序时,都会显示:

  1> :项目:Appsow,配置:调试Android ------ 
========== Build:0成功,1失败,0最新,0跳过==== ======

我已经将构建详细信息切换到诊断选项: 。



我发现NPM文件夹

  C :\Users\Valerio\AppData\Roaming\\\
pm\\\
ode_modules

为空。



安装cordova,尝试编译,仍然出现同样的非常诊断错误。



一些其他人有我同样的命运,我意识到,我还需要通过npm添加VS-MDA工具。
我在

中找到

  C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\\ \\ v14.0 \ApacheCordovaTools 

文件夹VS-MDA-TARGETS但是没有用。 p>

FWIW我已经尝试修复VS安装,然后再次通过删除/重新安装。



请帮助!我不想格式化和重新安装一切! :



感谢提前
Valerio

解决方案

我可以确认此解决方案有效。


  1. 关闭所有VS实例

  2. cd%appdata%。 。\Local\Microsoft\Phone Tools

  3. 重命名CoreCon文件夹

  4. 再次启动VS。


I just updated my install of VS2015 from RC to RTM.

I was working on a mobile app with cordova tools. After the upgrade, every time I try to build the app, this appears:

1>------ Build started: Project: Appsow, Configuration: Debug Android ------
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I already switched the build verbosity to Diagnostic in option: still no other words than these.

I figured out that the NPM folder

C:\Users\Valerio\AppData\Roaming\npm\node_modules

is empty.

Installed cordova, tried to compile, still the same not-very-diagnostic error.

Looking for some other people with my same destiny, I realized that I also need to add via npm the VS-MDA tool. I found in

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\ApacheCordovaTools

the folder VS-MDA-TARGETS but it's no use.

FWIW I already tried to repair the VS installation, and then again via remove/reinstall.

Please help! I don't want to format and reinstall everything! :(

thanks in advance Valerio

解决方案

I can confirm this solution works.

  1. Close all VS instances
  2. cd "%appdata%..\Local\Microsoft\Phone Tools"
  3. rename CoreCon folder
  4. Launch VS again.

这篇关于VS2015 RC到RTM Cordova项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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