Why is the name of my application the same as my Project name and not the Executable name? RRS feed

  • Question

  • I have a VB.Net project called WindowsApp7.  I have changed the name I want for the project in the Application Properties.  I have also edited the .vbproj file and added <TargetName>Trade Ideas Windows</TargetName> because that is what I want the application name to be.  But when I create an Installation for the project, while the executable is properly named Trade Ideas Windows.exe, if I pin the executable to my Start Menu, the Start Menu shows WindowsApp7!!  Why is this?  How can I change this successfully?
    Sunday, March 25, 2018 7:52 PM

All replies

  • What kind of installation are you creating?  You probably need to edit options within the installation configuration.  If it is ClickOnce, go to the Publish tab of My Project and click the Options button.  Check the settings in there.

    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

    Sunday, March 25, 2018 8:17 PM

  • Success

    • Proposed as answer by Mr. Monkeyboy Sunday, March 25, 2018 8:51 PM
    Sunday, March 25, 2018 8:32 PM
  • Well to avoid having to change names in the future when you begin a project the default name will be WindowsApp and the next number in line. So backspace over that and type whatever actual name you want the project to be called.

    For example you start a VB project and a Windows Forms project you will see WindowsAppX displayed in a text field and that is what you should clear/overwrite with whatever name you desire to use for the project.

    La vida loca

    Sunday, March 25, 2018 9:00 PM
  • Yes, I did this, but it has no effect!  I made the Assembly Name Trade Ideas Windows, but in the Start Menu, when the app is pinned, it still says WindowsApp7.

    Alice Meade

    Monday, March 26, 2018 9:54 AM
  • Just a regular installation, not a ClickOnce.  

    Alice Meade

    Monday, March 26, 2018 10:01 AM
  • Hello,

    Under project properties check the following.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Monday, March 26, 2018 10:17 AM