Hey so when i start a new solution and pick "web application" visual studio goes ahead and by default creates a script folder with jquery-1.4.1.js, jquery-1.4.1.min.js, and jquery-1.4.1-vsdoc.js. But if I instead start a new solution and pick "empty web application" there are no folders which is to be expected obviously. I am just wondering what is the best way to add jquery into my new project, should i just copy and paste the scripts folder from a default web application?
thanks in advance!
Use NuGet! It will install things in the proper folders, and keep track of things for you. No reason to do this yourself anymore.
Right click on your solution, choose manage packages. Search for jquery and install it. You might need to install the Nuget package manager if you haven't got it already.
Use nuget package http://nuget.org/packages/jquery
The command is "Install-Package jQuery"
You can just create a folder call script and drag the jquery libary into that folder(or use add exisitng item). New version Jquery library is available for download on http://docs.jquery.com/Downloading_jQuery
Or may be you can make a collection of needed files every time you use in your project and paste that files to empty project...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With