I want to show the current BUILD info on my title bar. (main_form.txt).
I have seen several references to finding it, but none are giving me the data I want.
My project is a fairly simple visual studio express 2015, win forms app .net 4.5
When I look in properties/publish I see that the build is currenly 1.0.0.13 and will increase each publish I do.
Where can I get those variables ?
I see in the bbox2.exe.manifest file the following line....
asmv1:assemblyIdentity name="bbox2.exe" version="1.0.0.13" publicKeyToken="1d053a5b342cefc4" language="neutral" ........
I have tried as suggested in another post the following..
Dim ass As System.Reflection.Assembly = System.Reflection.Assembly.GetExecutingAssembly()
Dim ver As System.Version = ass.GetName().Version
Me.Text = ("BlacBox" & ver.Major & "." & ver.Minor & "." & ver.Revision & "." & ver.Build)
but that ALWAYS gets me 1.0.0.0 ??
Any and all advice appreciated.