How to get current assembly version in c# – Programming, Pseudocode Example, C# Programming Example
C#

How to get current assembly version in c#

Firstly you can get and set version in Visual Studio as following, After images, you can get the version of currently executing assembly then you can use Application.ProductVersion.

 

Here is code snippet which can be used to do this.

 

To extract major, minor version use

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.