Nuget package naming MVC4
Nuget package naming MVC4
Rogier21
Posts: 3Questions: 0Answers: 0
Hello all,
I am using the MVC4 nuget package which works fine (except for some CSS errors).
But is it possible to trim down the package a bit? I think the following files can be removed:
~/Scripts/DataTables-1.9.4/docs
~/Scripts/DataTables-1.9.4/extras (?)
~/Scripts/DataTables-1.9.4/media/js/jquery.js
Is the content folder also needed for normal operation?
But the biggest request is, is it possible to change the directory names so the version number is in the Datatables file instead in the directory?
~/Scripts/DataTables-1.9.4/media/js/jquery.js
becomes:
~/Scripts/DataTables-1.9.4/media/js/jquery.dataTables-1.9.4.min.js
Because MVC4 can use bundeling on filenames but not on directories with automatic version numbering.
Thanks!
I am using the MVC4 nuget package which works fine (except for some CSS errors).
But is it possible to trim down the package a bit? I think the following files can be removed:
~/Scripts/DataTables-1.9.4/docs
~/Scripts/DataTables-1.9.4/extras (?)
~/Scripts/DataTables-1.9.4/media/js/jquery.js
Is the content folder also needed for normal operation?
But the biggest request is, is it possible to change the directory names so the version number is in the Datatables file instead in the directory?
~/Scripts/DataTables-1.9.4/media/js/jquery.js
becomes:
~/Scripts/DataTables-1.9.4/media/js/jquery.dataTables-1.9.4.min.js
Because MVC4 can use bundeling on filenames but not on directories with automatic version numbering.
Thanks!
This discussion has been closed.
Replies
Allan
What Rogier21 is referring to, is the https://github.com/DataTables/DataTables, one. And this is the one that, when used in an Mvc4 project, could take advantage of the {version} naming oncvention on the file name (instead of the folder name).
Thank you.
~/Scripts/DataTables-1.9.4/media/js/jquery.dataTables.min.js
becomes:
~/Scripts/DataTables/media/js/jquery.dataTables-1.9.4.min.js
If I get a significant amount of feedback about this requesting the change I will look at it, but not something that will be taken lightly, as a lot of projects already rely on this file structure.
Allan