Reputation: 1236
How do I know what version of Maui I'm on/using. I used the Visual Studio installer and tried checking, but I can't tell if I'm on preview 3 which I originally installed or have I managed to update to GA?
Bizarre that I can't find this information from searching. :(
Upvotes: 15
Views: 11351
Reputation: 433
I found this information by using the dotnet command line tool:
dotnet workload list
The results I got looked like this:
Installed Workload Ids Manifest Version Installation Source
--------------------------------------------------------------------------------------------------------
maui-android 6.0.540/6.0.400 SDK 6.0.400, VS 17.3.32901.215
maui-tizen 6.0.540/6.0.400 SDK 6.0.400
maui-windows 6.0.540/6.0.400 VS 17.3.32901.215
maui-maccatalyst 6.0.540/6.0.400 VS 17.3.32901.215
maccatalyst 15.4.446-ci.-release-6-0-4xx.446/6.0.400 VS 17.3.32901.215
maui-ios 6.0.540/6.0.400 VS 17.3.32901.215
ios 15.4.446-ci.-release-6-0-4xx.446/6.0.400 VS 17.3.32901.215
android 32.0.465/6.0.400 VS 17.3.32901.215
Use `dotnet workload search` to find additional workloads to install.
dotnet has a multitude of options for installing and updating stuff too.
Upvotes: 13
Reputation: 65
Yep, it's kind of curious not having this info. I found this article and it mentions
To acquire .NET MAUI RC3 on Windows, install or update Visual Studio 2022 Preview to version 17.3 Preview 1. In the installer, confirm .NET MAUI (preview) is checked under the “Mobile Development with .NET” workload.
So, I guess you need to check your VS version in order to find MAUI version too.
Upvotes: 2