AppInfo.VersionString differs on Android and Windows
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
The version of a MAUI app is set in the MAUI Shared part of the properties in a couple of fields as follows:
```
Application Display Version
The display version of the application. This should be at most a three part version number e.g 1.0.0.
Application Version
The version of the application. This should be a single digit integer e.g. 1.
```
In the sample provided I set 2.3.4 as the Application Display Version and 5 as the build. A windows app displays the version as 2.3.4.5 whereas Android displays 2.3.4, both report 5 as the build string.
This is a minor problem.
### Steps to Reproduce
1. Open the project from GitHub
2. Build and run it on Windows and Android
3. Expect to see this:

### Link to public reproduction project repository
https://github.com/david-maw/VersionInfo.git
### Version with bug
7.0 (current)
### Last version that worked well
Unknown/Other
### Affected platforms
Windows, I was *not* able test on other platforms
### Affected platform versions
Windows 10
### Did you find any workaround?
No
### Relevant log output
_No response_
Contributor guide
Research direction
Start with the linked VersionInfo reproduction project and compare AppInfo.VersionString on Windows and Android using the reported Application Display Version 2.3.4 and Application Version 5. Confirm how each platform formats the value, then make the reported version representation consistent while preserving the build string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- desktop-dev, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100