Maui for Android application versionini

Haviv Elbsz 2,071 Reputation points
2024-03-14T14:38:45.5433333+00:00

Hi All. I use ver 17.10 preview 1 and android Ver 34. in the application project file there is a section   <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> <ApplicationVersion>1</ApplicationVersion> How I use this to set a version like this 1.95. what I type instead of 1.0 and what I type instead of the 1. In other words how I use this section in the project file. Thank you.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,117 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-03-15T02:45:27.3633333+00:00

    Hello,

    If you want to set Application Display Version to 1.95 for all platforms. Right-click your project in VS, then choose Properties, open the MAUI Shared tab->click the general, Fill the 1.95.0 in the Application Display version, then save this change.

    If you just want to set a version like this 1.95 for android platform, you can double click your AndroidManifest.xml, find the Version Name, you can fill the 1.95 in it.

    Application version name

    A string that specifies the version of the app to users. The version name can be a raw string or a reference to a string resource.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.