Increase the version of my desktop application automatically, Vb.net

Is it possible for my desktop application(vb or C#) to version automatically every time I build?

 0
Author: avargasma, 2016-07-19

3 answers

A simple way is to modify the AssemblyInfo file.vb.

If you comment These Lines:

'<Assembly: AssemblyVersion("1.0.0.0")> 
'<Assembly: AssemblyFileVersion("1.0.0.0")>

And you leave it like this:

<Assembly: AssemblyVersion("1.0.*")> 

You will be generating increased versioning.

 2
Author: anpadia, 2016-08-10 14:58:44

There are extensions you can add to VS to implement auto versioning Increment

Automatic Versions

Auto Version Increment Free

You can download the .vsix of these links or you can search for it in the Extension Manager

enter the description of the image here

 1
Author: Leandro Tuttini, 2016-07-20 03:50:08

A fairly simple option is to use ClickOnce, you can make a complete deployment very easy to your customers, which by itself already includes the management of versions, and updates.

-> How to use click once

 0
Author: codeErcik, 2016-07-26 14:46:30