none
How to change name of published application from: Form1.application to Foo.application RRS feed

  • Question

  • Hi, been trying to do this for  days now. I've renamed all instances of Form1 I can find in the vb code. 

    I have succeeded in changing the name in Designer view, but when I publish the app it still calls it Form1.application and installs it as Form1 in programs.

    How do you do it.

    I'm using Visual Studio 2017. Windows Forms App (.NET Framwork) Project.

    Thanks

    Additional:

    In Solution Explorer there is "MySettingsProperty"
    inside there is the following:

           Friend ReadOnly Property Settings() As Global.Form1.My.MySettings
                Get
                    Return Global.Form1.My.MySettings.Default
                End Get

    The one time I tried changing Form1 here the build failed.

    Addendum:
    I gave up on renaming, I just recreated it from the beginning.

    Live and learn.


    • Edited by riojimmy Friday, April 13, 2018 5:31 PM
    Thursday, April 12, 2018 3:19 PM