Using Nuget on VS2015 RC Tools for Apache Cordova

你离开我真会死。 提交于 2019-12-11 11:21:09

问题


Bit of a newbie to VS2015RC with Cordova but I have a query regarding how to use Nuget to add dependencies like say Jquery, Angular etc.

If you add the dependencies or packages using Nuget then they are added to the root of the Project (Not in the www folder). Of course you can just move the files but this plays havoc with some of the Source Control we are using and also you have to remember to move it back again to the root if you want to "Upgrade" the dependency or package with Nuget again.

So....

  1. Is there a way of getting Nuget to install the files in the correct sub-folder? or...
  2. Is there another way to add the dependencies / packages (Npm etc?) and is there a tutorial around for that?

Thanks in advance for the help.


回答1:


The way I understood it, the directory structure was changed in the RC. I chalked the wrong directory up to the nuget configs not being updated yet. I expect the gold release to have that fixed.



来源:https://stackoverflow.com/questions/30097425/using-nuget-on-vs2015-rc-tools-for-apache-cordova

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