I am writing my first Xamarin Forms app. I did a couple of false starts and experiments. I now have a pretty good version, but I called it MyApp_Test3. I don't mind that as an internal name in the code, but when it installs that becomes the external name in the Apps folder and so forth. I want it to be just plain MyApp. Exactly which Property controls the installed external name of the App, and is there any other Property or similar that has to stay synchronized? I'm afraid to just hack and experiment because I am afraid of making a mess of things.
Asked
Active
Viewed 58 times
1 Answers
1
on iOS, it in the BundleName and BundleDisplayName in info.plist
on Android, it is the Application Name in AndroidManifest.xml

Jason
- 86,222
- 15
- 131
- 146
-
And you can find them from platform-specific-projects' properties in VS. (Greetings, speed typer) – Shaw Feb 23 '21 at 02:01
-
Did not work for me. I used the Properties dialog to make the change per the link from @Cfun and I see that it changed AndroidManifest.xml application android:label but the application still installs on the phone as MyApp_Test3. – Charles Feb 23 '21 at 14:28
-
Perhaps I was not clear or perhaps I am worrying about nothing. I have not yet actually built a distribution. I just have an old Android phone hooked up to VS with a USB cable. I Debug Build targeting that phone. VS installs it on the phone and starts it. The installed app and the running app are both named MyApp_Test3. – Charles Feb 23 '21 at 14:30
-
try deleting the app from the device and reinstalling – Jason Feb 23 '21 at 14:35
-
@Jason successfully deleted but the re-built app still installs as MyApp_Test3. – Charles Feb 23 '21 at 16:22
-
also check the Application Name in the Android project properties, Android Application tab – Jason Feb 23 '21 at 16:23
-
1. With regard to the original problem: the icon is named MyApp_Test3 and in the list of open applications it appears as MyApp_Test3 but in the Apps configuration from the top bar pulldown it is correctly just MyApp. I think we have this half-solved. – Charles Feb 23 '21 at 16:27
-
2. With regard to Application Name in the Android project properties I see only Assembly Name which is MyApp_Test3.Android and Default Namespace which is MyApp_Test3.Droid -- no Application Name. – Charles Feb 23 '21 at 16:29
-
1Found it! You need also to change Label= in Activity in MainActivity.cs. Found it from the question linked by @Cfun . – Charles Feb 23 '21 at 16:42