How to change the default package installation directories by Nuget?

Asked

Viewed 856 times

3

On a project ASP.NET MVC, it is possible to specify in which folders the plugins Javascript and css, as Bootstrap, unlike the standards Content and Scripts?

Content and Scripts are the default directories for these files when installed in a project by Nuget or Package Manager Console. Can change or this is a configuration of each package?

If yes, how?

2 answers

4

Not.

The destination configuration of the files is defined by the package, and usually follows a pattern not to become a mess.

What you can do, as @viniciushana says, is create your own packages with your settings, but I don’t think this is productive.

2


It is a configuration of each package. If you prefer, you can download the packages, edit them locally to follow the conventions you need and make them available in a private feed.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.