I want to display a custom cursor (32×32) in WinUI3.
It seems that there is no simple way to load a .cur file from the embedded resources or is there?
So far I tried to create a win32 .res file with the cursors embedded and then tried to use them using InputDesktopResourceCursor.CreateFromModule (and variations of that).
However, when I put Win32Resource and WindowsAppSDKSelfContained in the same csproj file, an error occurs “conflicting options specified: Win32 resource file, Win32 manifest”. When I remove WindowsAppSDKSelfContained, the project can be compiled, but this is not what I want.
Is there another way to use a .cur file without Win32Resource?