Hello Kim,
Should ApplicationVersion be the same as Version number and ApplicationDisplayVersion the same as Version name?
Yes, the versions in AndroidManifest.xml and .csproj should match. However, you don't need to manually update both files. The .csproj properties serve as the single source of truth for version numbers, automatically syncing across platforms.
MAUI automatically maps .csproj version properties to platform-specific manifests:
-
ApplicationVersion→ Android'sandroid:versionCode(must be an integer) -
ApplicationDisplayVersion→ Android'sandroid:versionName(user-visible version string)
Update your .csproj to match your desired versions:
<PropertyGroup>
<ApplicationVersion>12</ApplicationVersion>
<ApplicationDisplayVersion>1.2</ApplicationDisplayVersion>
</PropertyGroup>
I hope this clarifies your question.