.NET MAUI:如何获得MAUI版本号?

发布于 2025-02-06 08:58:26 字数 116 浏览 1 评论 0原文

我怎么知道我正在使用/使用哪个版本的毛伊岛。我使用了Visual Studio Installer并尝试检查,但是我无法确定我最初安装还是设法更新到GA的预览3?

我无法从搜索中找到这些信息的奇怪。 :(

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冷情 2025-02-13 08:58:26

我使用dotnet命令行工具找到了此信息:

dotnet工作负载列表

我得到的结果:

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也有许多用于安装和更新内容的选项。

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.

几度春秋 2025-02-13 08:58:26

是的,有点奇好的没有此信息。我发现本文

要在Windows上获取.NET MAUI RC3,请安装或更新Visual Studio 2022预览到版本17.3预览1。在安装程序中,在“使用.NET”工作负载的“移动开发”下检查了Suncrial.Net Maui(预览)。<<<<<<<<<<<<<<<<<<<<<<<<< /p>

因此,我想您需要检查VS版本才能找到毛伊岛版本。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文