I understand how to update a package within a solution but my question is how do you update the default packages. IE: When I create a new solution it’s at the latest version already instead of having to go not ‘Manage packages for solutions’ and updating every time I start a new project.
For example: If i create a new MVC4 project, jQuery 1.7.1 is being installed. 1.8.2 has been out since September. I want 1.8.2 installed by default.
You can change these by modifying the default project templates.
You find them here:
For instance, the Web application template for MVC4 using Razor syntax can be found here:
Within this folder, simply modify the .vstemplate XML file contents, in this case:
Look for a section called packages and modify the package versions to the ones you want. The section looks like this:
Also make sure to update the _references.js file in the Scripts folder, and ensure the packages with the versions you want, are available in the following location: