I don't know about the deploying project bit.
Do you mean you just want to get the version number of your program? if so you double-click on the AssemblyInfo file in your project and set the variables there such as Title, Company name and Version, ect.
You then have to call it like this:
This will get the Major number, i'll leave it up to you to get the others.Code:Major = System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).ProductMajorPart()




Reply With Quote