Reputation: 10818
Let say for example by default package bootstrap less
files goes to:
less files goes to Content\bootstrap
js files goes to Scripts
I want less files goes to my custom folder Content\less\bootstrap
and js files goes to folder Content\js\bootstrap
Is it possible to configure package installation foldres this way?
Upvotes: 0
Views: 1034
Reputation: 8781
In general this is not possible since package files are added to your project in the same structure they added to the nuget package. For example bootstrap package most probably look like this:
Scripts\bootstrap.js
Content\bootstrap\bootstrap.less
So if you project already has a Scripts folder bootstrap.js
is going to be added to this folder otherwise Scripts folder is going to be created together with bootstrap.js
.
One thing that you can do, is to specify the root location for all your packages in the project (detailed explanation), but I believe this is not what you are looking for.
Upvotes: 1