VS2015 RC到RTM Cordova项目 [英] VS2015 RC to RTM Cordova project nuked
问题描述
我刚更新了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
我可以确认此解决方案有效。
- 关闭所有VS实例
- cd%appdata%。 。\Local\Microsoft\Phone Tools
- 重命名CoreCon文件夹
- 再次启动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.
- Close all VS instances
- cd "%appdata%..\Local\Microsoft\Phone Tools"
- rename CoreCon folder
- Launch VS again.
这篇关于VS2015 RC到RTM Cordova项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!