I am calling AppInfo.Current.VersionString on a Maui project deployed on UWP.
I am always getting back 1.0.0.1 I have tried changing
<ApplicationDisplayVersion>2.0</ApplicationDisplayVersion>
<ApplicationVersion>2</ApplicationVersion>
inside of the relay.csproj and I have also tried changing
<assemblyIdentity version="1.3.0.0" name="Relay.WinUI.app"/>
inside of the app.manifest inside the WinUI platform folder.
But always returning 1.0.0.1, I have also tried VersionTracking.CurrentVersion and seeing the same thing.
I'm finding that a clean and rebuild after setting ApplicationDisplayVersion and ApplicationVersion will enable AppInfo.Current.VersionString to retrieve the information correctly
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With