You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] SkiaSharp.Views.WinUI doesn't work with .Net 7 #2272
Assembly 'SkiaSharp.Views.Windows' with identity 'SkiaSharp.Views.Windows, Version=2.88.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' uses 'WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709' which has a higher version than referenced assembly 'WinRT.Runtime' with identity 'WinRT.Runtime, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'
Yeah, this worked for me. Not sure how I am building with a newer version of WinRT.Runtime than the net7 SDK, but I know how I can drop that to one I trust.
Activity
mattleibow commentedon Oct 4, 2022
Booo. I literally got this right now and I am trying to figure this out.
EDIT
Try adding this to your csproj:
EDIT 2
Yeah, this worked for me. Not sure how I am building with a newer version of WinRT.Runtime than the net7 SDK, but I know how I can drop that to one I trust.
Force an older version of Windows SDK
Summpot commentedon Oct 4, 2022
Have you tried referencing a newer version of the Microsoft.WindowsAppSDK?
Summpot commentedon Oct 4, 2022
It looks like other libraries that reference the newer Microsoft.WindowsAppSDK are working properly on .Net 7
Force an older version of Windows SDK (#2273)
mattleibow commentedon Oct 12, 2022
@Summpot updating WASDK here: #2276