Closed ganikapudisham closed 1 week ago
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
Note: You can give me feedback by 👍 or 👎 this comment.
This is not working for version mentioned in the above image and the Version of visual studio is higher than the version mentioned in this issue https://github.com/dotnet/maui/issues/20000
I have provided necessary details to reproduce it on the public repository, please let me know if you need any additional details.
In my case ApplicationDisplayVersion was 1.0.1 and VersionName was "Lily".
I changed VersionName to "1.0.1" and now its displayed.
Thank you.
Description
AppInfo.Current.Version.ToString() or AppInfo.Current.VersionString value not reflecting when debugging on physical mobile device for android. It always displays '0.0'.
Similar issue is mentioned here -> https://github.com/dotnet/maui/issues/20000
Steps to Reproduce
Execute the code (Public repo) in debug mode. You will land on the login page. Apply breakpoint In the loginViewModel.cs on line no 203. var localV = AppInfo.Current.Version.ToString();
AppInfo.Current.Version.ToString(); returns "0.0" instead of "1.0.1"
Link to public reproduction project repository
https://github.com/ganikapudisham/maui-matri
Version with bug
8.0.40 SR5
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
In my case ApplicationDisplayVersion was 1.0.1 and VersionName was "Lily".
I changed VersionName to "1.0.1" and now its displayed.
Thank you.
Relevant log output