Application.ProductName Returns Empty String

  • Thread starter Thread starter Phil Galey
  • Start date Start date
P

Phil Galey

I created a VB.NET application, together with an associated installation
project, and in the installation project I specified the ProductName. But
when I run the application, if I try to retrieve the ProductName using
Application.ProductName, it always returns an empty string. I've looked
under Solution Properties, but haven't found anything.

How do I get Application.ProductName to return the application product name?
Thanks.
 
The product name is set in the application's AssemblyInfo.vb file, in the
AssemblyProduct attribute.

HTH,
Tom Dacon
Dacon Software Consulting
 
Yes, look thru the AssemblyInfo.vb file, you can set all of the internal app
info within - including auto incrementing build version values. After you
set these values you can test by building the exe, then go to bin directory
and right click exe and select properties.
 
Back
Top