|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB.NET 2005 Version Number in Applicationsince it had to do with the vb language I have been making changes to my Windows Application and in the Project/Properties the Publish Version shows the following: Major: 1 Minor: 0 Build: 0 Revision: 45 I would like to show this information in the "About Screen" and I have: My.Application.Info.Version but this shows Build: 0 Major: 1 MajorRevision: 0 Minor: 0 MinorRevision: 0 Revision: 0 (this was taken at a break point and displayed in the Immediate Window) How can I display in my application the information regarding the correct Major, Minor, Build, and Revision? Thanks in advance In article <exrtp1YRHHA.4***@TK2MSFTNGP05.phx.gbl>,
zimba***@doyoureallythinkthisisreal.com says... Show quoteHide quote > I posted in another group but thought this was the better place to post, The "Publishing" tab is only if you're doing ClickOnce deployment. The > since it had to do with the vb language > > I have been making changes to my Windows Application and in the > Project/Properties the Publish Version shows the following: > > Major: 1 > Minor: 0 > Build: 0 > Revision: 45 > > I would like to show this information in the "About Screen" and I have: > My.Application.Info.Version > but this shows > Build: 0 > Major: 1 > MajorRevision: 0 > Minor: 0 > MinorRevision: 0 > Revision: 0 My.Application.Info.Version displays the assembly version which can be found on the "Application" tab when you click on "Assembly Information..." On Feb 1, 7:59 pm, Patrick Steele <patr***@mvps.org> wrote:
Show quoteHide quote > In article <exrtp1YRHHA.4***@TK2MSFTNGP05.phx.gbl>, Patrick - thanks for the clarification. As a VS.NET2005 newbie, I was> zimba***@doyoureallythinkthisisreal.com says... > > > > > > > I posted in another group but thought this was the better place to post, > > since it had to do with the vb language > > > I have been making changes to my Windows Application and in the > > Project/Properties the Publish Version shows the following: > > > Major: 1 > > Minor: 0 > >Build: 0 > >Revision: 45 > > > I would like to show this information in the "About Screen" and I have: > > My.Application.Info.Version > > but this shows > > Build: 0 > > Major: 1 > > MajorRevision: 0 > > Minor: 0 > > MinorRevision: 0 > >Revision: 0 > > The "Publishing" tab is only if you're doing ClickOnce deployment. The > My.Application.Info.Version displays the assembly version which can be > found on the "Application" tab when you click on "Assembly > Information..." > > -- > Patrick Steelehttp://weblogs.asp.net/psteele- Hide quoted text - > > - Show quoted text - not aware (I wonder how many people are) that there is a distinction between "ClickOnce Revisions" and what I can only call "Standard Revisions". For those of us who LIKE the auto-incrementing of Revisions, and DO use the ClickOnce deployment, can you recommend how to get the auto- incremented ("ClickOnce") revision to display in our SplashScreen and About forms? The only examples of code exist in the Splashscreen class itself, and (apparently) assume that one is NOT using the ClickOnce feature, because all the sample code utilizes the My.Application.Info.Version.Revision references - which apparently are NOT the same as what appears in the Publish Tab of the My Project item in my solution. Any references/resources you can suggest for understanding this better would be most welcome. Lastly, can you offer any best practices if one wants to somehow synchronize (or otherwise reconcile) these 2 distincts "revisions"? It drives me crazy to realize that VS.NET2005 is somehow tracking 2 different KINDS of "revisions" - only because I chose one deployment strategy over another. TIA, - Mark
How to prevent multiple child forms opening
Problem using BackGroundWorker to ping multiple LAN hosts Check Bitwise flags Passing exceptions from a Dll back to the calling application. Reading XML String How do I change the duration of a splash screen? Show About form on DLL start MASK Mouse behavior of ToolStripMenuItems Task scheduler |
|||||||||||||||||||||||