如何在项目中指定安装包的文件夹?

时间:2021-11-23 10:57:03

I'm using twitter bootstrap in my project and it installs 15 files into my project in the scripts folder.

我在我的项目中使用twitter bootstrap,它在脚本文件夹中将15个文件安装到我的项目中。

project/scripts/bootstrap-alert.js
project/scripts/bootstrap-button.js

I can move these files into a folder but then when doing an upgrade it just installs everything at the /scripts level again. This gets totally out of control when you add jquery, knockout etc etc

我可以将这些文件移动到一个文件夹中,但是当进行升级时,它只是再次安装/ scripts级别的所有内容。当你添加jquery,knockout等时,这完全失去控制

project/scripts/twitter.bootstrap/bootstrap-alert.js
project/scripts/twitter.bootstrap/bootstrap-button.js

I want to tell nuget to install the files to project/scripts/twitter.bootstrap within the project.

我想告诉nuget将文件安装到项目中的project / scripts / twitter.bootstrap中。

Does anyone know how?

有谁知道怎么样?

1 个解决方案

#1


2  

Sadly it's not supported, but there are suggestions about it on the nuget codeplex site.

遗憾的是它不受支持,但在nuget codeplex网站上有关于它的建议。

http://nuget.codeplex.com/discussions/256542

http://nuget.codeplex.com/discussions/256542

#1


2  

Sadly it's not supported, but there are suggestions about it on the nuget codeplex site.

遗憾的是它不受支持,但在nuget codeplex网站上有关于它的建议。

http://nuget.codeplex.com/discussions/256542

http://nuget.codeplex.com/discussions/256542