Facing same issue a week ago.
This error happens only ARM Windows on my environment, intel Windows runs well.
both using VS2022 Community edition.
VS2022 does not support officially ARM Windows machine at this time, hopefully fix this issue when official support has come on arm windows.