question

AttilaZabolai-9182 avatar image
0 Votes"
AttilaZabolai-9182 asked YonglunLiu-MSFT answered

Latest MAUI

Hi!

Can it be solved that it is always the latest MAUI version I use it?

VS version: 17.3.4

MAUI: 6.0.536 <- current use my project

Latest Maui: 6.0.540

dotnet-maui
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YonglunLiu-MSFT avatar image
1 Vote"
YonglunLiu-MSFT answered

Hello,

MAUI version is tied to the VS 2022 preview version currently.

In order to use the latest MAUI, you need to upgrade you VS.

In addition, there is a not recommended way to use specific MAUI version:

Add it into your project file
<MauiVersion>6.0.540</MauiVersion>


It will be deprecated in a future release, please refer to this issue: The "Value cannot be null" errors are shown on an attempt to build a project with MauiVersion set to a previous value #4812.

Therefore, the best way for using latest MAUI is the first way.

Best Regards,

Alec Liu.



If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.