简体   繁体   中英

.net Maui: How get Maui version number?

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. :(

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM