Fix numero di versione con schema allineato a build JENKINS
This commit is contained in:
@@ -46,7 +46,8 @@ namespace ScheMe.WebUserControls
|
||||
// salvo apgina corrente
|
||||
devicesAuthProxy.pagCorrente = titolo; // devicesAuthProxy.getCurrPage(Request.Url);
|
||||
// update valori
|
||||
lblVers.Text = string.Format("v.{0}.{1}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Major, System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Minor);
|
||||
Version versione = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||
lblVers.Text = string.Format("v.{0}.{1}.{2}.{3}", versione.Major, versione.Minor, versione.Revision, versione.Build);
|
||||
lblVers.ToolTip = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.MinorRevision.ToString();
|
||||
}
|
||||
// SOLO se la pagina NON E' "safe"...
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.0.999.2575")]
|
||||
[assembly: AssemblyFileVersion("2.0.999.2575")]
|
||||
[assembly: AssemblyVersion("2.1.999.2579")]
|
||||
[assembly: AssemblyFileVersion("2.1.999.2579")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-2017")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.0.999.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.0.999.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("2.1.999.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.1.999.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user