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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top