Using WindowsAppSDK in WPF .net 6 project.
aluzi liu
486
Reputation points
I create a new WPF project, using .net 6 in VS2022, and I install the "WindowsAppSDK" nuget package, after package installed, two error message appeared:
NETSDK1082 Microsoft.WindowsDesktop.App.WPF There was no runtime pack available RuntimeIdentifier“win10-arm”
NETSDK1082 Microsoft.WindowsDesktop.App.WPF There was no runtime pack available RuntimeIdentifier“win10-arm-aot”
I goto the project property page, set "Target Platform" to "x64", but no help at all. I check the readme file of WindowsAppSDK in github(https://github.com/microsoft/windowsappsdk), it said "work with WPF", so, how to fix the issue?
Sign in to answer