Oh why so hard? Just open the file ~/Views/Shared/_Layout.cshtml and replace:
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
from:
<script src="@Url.Content("~/Scripts/jquery-1.6.min.js")" type="text/javascript"></script>
after loading jquery 1.6 and, in particular, in the Scripts folder.
Of course, if you use CDN (this is what you need, by the way, if your site is open to the public), just open ~/Views/Shared/_Layout.cshtml and replace:
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
from:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
and thatβs almost all you need.
Darin Dimitrov
source share