Error This version of WindowsAppSDK requires .NET 6+ and WinRT.Runtime.dll version 2.0 or greater. #10649
-
Updating Microsoft.WindowsAppSDK from 1.1.5 to 1.2.221116.1 produces this error:
I found this issue which reccommends this change:
I don't think that applies to me since .csproj:
C:\Users\sam>dotnet --info Runtime Environment: Host: .NET SDKs installed: 7.0.100 [C:\Program Files\dotnet\sdk] .NET runtimes installed: Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Other architectures found: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Thanks for the report. Can you take a look at this section in your project? You should be able to adjust the versions for the build to work. |
Beta Was this translation helpful? Give feedback.
-
Link in the answer seems to be old. |
Beta Was this translation helpful? Give feedback.
-
Still having this issue. |
Beta Was this translation helpful? Give feedback.
Thanks for the report. Can you take a look at this section in your project? You should be able to adjust the versions for the build to work.