I got exactly same issue, the visual studio are using window 10 sdk 10.0.22, which is not support by visual studio 2019. So, there is a way to configure visual studio to use different version of window 10 sdk.
A evidence for this is you can’t isntall window10 sdk 10.0.22 in the visual studio 2019 installer