View Single Post
  #1  
Old January 7th 10, 11:06 PM posted to microsoft.public.outlook.program_addins
Mark B[_2_]
external usenet poster
 
Posts: 93
Default How do I get the version number of the Setup project?

VSTO, OL2007, C#, VS2008.

The following code gets the version number of an Addin project for display
on a custom Help, About form.

lblVersionNo.Text =
Globals.ThisAddIn.GetType().Assembly.GetName().Ver sion.ToString();

However, I need rather the version number of the Setup project (named
"MySetupProject") within the solution since that version number is the one
that is displayed under Control Panel, Add/Remove Programs.

Does anyone know what changes to the above code I would need to do in order
to get the setup project's value?

TIA


Ads