I have found a way to set the My.Application. Info.Version property successfully in VB.NET using Microsoft Visual Basic 2010 Express.
Navigate to your Projects Properties. (I do this by going to View > [projectname] Properties...) Then make sure you have the "Applicatio n" tab selected. Click on the button "Assembly Information". In here you can set the "Assembly version:" fields. They can then be referenced in your application by calling [COLOR="Green"]My.Application. Info.Version[/COLOR]. This number will not auto-increment, you will have to change it manually.
The numbers seen in [projectname] Properties > Publish tab > Publish Version are always ignored.
Navigate to your Projects Properties. (I do this by going to View > [projectname] Properties...) Then make sure you have the "Applicatio n" tab selected. Click on the button "Assembly Information". In here you can set the "Assembly version:" fields. They can then be referenced in your application by calling [COLOR="Green"]My.Application. Info.Version[/COLOR]. This number will not auto-increment, you will have to change it manually.
The numbers seen in [projectname] Properties > Publish tab > Publish Version are always ignored.