Application.ProductName doesn't return product name

  • Thread starter Thread starter Sebastiaan Olijerhoek
  • Start date Start date
S

Sebastiaan Olijerhoek

When I call Application.ProductName I get back "Main" instead of my
application name.
What to do?

Kind regards,
Sebastiaan.
 
I'm assuming you're using VB.NET, but it should apply to C# as well.

Check your AssemblyInfo.vb file - unless you set the AssemblyProduct
attribute, Application.ProductName will default to the executable name.
 
Back
Top