As you know are aware of the version constrain there are four numbers mentioned in the every version.Example : 2.0.1.67 1.Major 2.Minor 3.Build 4.Revision
Here is the example to get the current build version
Here is the example to get the current build version
public void GetCurrentBuildVersion() { var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; view.VersionNumber = version.Major + "." + version.Minor + "." + version.Build + "." + version.Revision; }
No comments:
Post a Comment