New version of these javascript files? - visual-studio-2010

I am wondering these files get generated when you make an asp.net mvc 3 file.
jquery.validate.unobtrusive.js
jquery.unobtrusive-ajax.js
I am wondering do they update these only on new releases of mvc or are they regularly updating these versions?
Same with the asp.net mvc templates. When I make a new project I still get like jquery version 1.4.4.
Anyway to update these templates?

You can always create a new project and then the first thing you can go is go to the nuget package manager and update all the installed packages. This will allow you to update jquery and other packages to the latest version.

Rather than waiting for updates, you can easily create your own project template instead of using the one provided for you.

Related

How can I clone, edit & use a 3rd party Laravel plugin

I have scoured the web for hours but I can not seem to wrap my head around this. I am developing a Laravel project where I am using the dependency UniSharp/laravel-settings. However, I have noticed that after upgrading my Laravel version to 6.0, the package breaks. I have figured out what I need to do to make the package work with Laravel 6.0 and now I wish to make the required changes and then use the modified package.
So far, I have cloned the original repository into my own (i.e realnsleo/laravel-settings) and I have cloned it onto my development machine. The trouble is, I don't know how to test whether my changes work. Do I need to setup a fresh Laravel installation to test the package? I noticed the package has it's own composer.json file, should I install those dependencies separate from the installed Laravel project? I am highly confused.
Can someone assist me with a step by step on what I need to do to achieve this? I will highly appreciate it. Thank you.

unable to create dynamic web project in spring tool suite 4.2.1

Previously I used to create dynamic web project on eclipse but I want to make project on spring tool suite i.e 4.2.1 & I've never used it before, so does anybody knows how to create a dynamic web project in Spring Tool Suite 4.2.1 or a reference to where I can get, as I've been trying to create one since 4 hours. Please help me.
Referring to this thread
To solve this on STS 4.x.x
Click on Help.
Go to Install New Software.
Select the main Eclipse update site for 2019-09 ( if not added, you must click o add button and paste this URL:http://download.eclipse.org/releases/2019-09/ on both fields).
search for m2e-wtp which will be in the last. There are four extensions showing up and you should install the ones you prefer.
Restart your IDE
see https://github.com/spring-projects/sts4/issues/96#issuecomment-484522744 on martinlippert comment..
I've added link of latest current version.
Hope this helps..
The Spring Tools 4.2.1 for Eclipse distribution didn't contain the necessary features and extensions to create dynamic web projects. This got added for later Spring Tools 4 versions. So the easiest solution would be to install a fresh distribution of the latest Spring Tools 4.3.2 for Eclipse and go from there.
As an alternative, you could also install the missing pieces into an existing Spring Tools 4 for Eclipse installation via Install New Software, then selecting the main Eclipse repository from the dropdown list, waiting for the list of features to appear, and selecting the features you are missing.

Creating new branch in gitlab UI; reality does not look like documentation

I'm new to gitlab, though I have some experience with git. The recipe for creating a new branch in gitlab from the UI says
If you want to make changes to several files before creating a new
merge request, you can create a new branch up front. From a project's
files page, choose New branch from the dropdown.
(https://docs.gitlab.com/ce/user/project/repository/web_editor.html#create-a-new-branch)
The problem is that my page simply does not have the dropdown as shown in the example on the site. Everything else looks the same, but I have no access to any dropdown. I have developer access to the project. Is the documentation outdated and I need some other method? Does it sound like there is a problem with the gitlab installation I have to use here? Any ideas are most welcome.
Are you using a self hosted instance of GitLab if so what version are you using? go to /help to find the version.
It is possible you are using an old version of GitLab and this feature isn't available.

Pre Build Events On A Website In VS2008?

I have a solution with multiple projects and a website. On each project I have set up a pre build event to get the highest subversion revision number of the project (using SubWCRev) and then replace part of the AssemblyVersion with that revision number.
How do I achieve this on a website? As far as I can tell there is no pre build event and if I try to:
Add another project
Make the website dependant on the project
Use the pre build event for the project
The subversion revision number used to replace information in the website will be for the project not the website.
Any ideas?
One suggestion might be to use a Web Application project - rather than a Web Site project. Although this might not be entirely feasible in your case, depending on the amount of work required to essentially migrate the existing code-base.
See this question and its answers for more information: ASP.NET Web Site or ASP.NET Web Application?

Give version programatically to a setup/deployment project

I have created a Visual Studio Deployment Project for my application. We are a using subversion to manage version numbers and I've got versionInfo.cs file which contains the version number. I want to give the version number I have in my application (versionInfo.cs) to the Version Property of the setup project. I am not sure how to it... Do I need to create a custom action? Or what's the best way to do that.
Thank you!
As for me, setting version is a responsibility of build process. So, you don't need a custom action - it is a part of installation logic and runs at install time. Instead, teach your build engine to put correct version to your installation package (e.g. read it from VersionInfo.cs and put to vdproj file).
Finally I fixed the issue.
I've setup Cruise Control build server and added Nant script to change the version in the setup project.
Thanks,
Charith

Resources