How to make my MAUI app use the latetest Microsoft.WindowsAppSDK

C. Veeningen (c) 20 Reputation points
2024-02-20T06:50:35.1366667+00:00

I have my MAUI app running on the latest version of MAUI, but see in the transitive dependencies that the used Microsoft.WindowsAppSDK is still version 1.3.x. While there is a stable version of 1.4.x which contains fixes for my WinUI app which I would like to use. How can i update the package to the latest version / where is the dependency on this package configured?

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
745 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,138 questions
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,371 Reputation points Microsoft Vendor
    2024-02-21T02:55:30.3333333+00:00

    Hello,

    After testing, you could open the .csproj project file in your project and add the following declaration afterwards to make this Nuget Pakage update.

    <ItemGroup>
          <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.240211001" />
    </ItemGroup>
    

    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.


0 additional answers

Sort by: Most helpful