Unhandled exception when building blank project: Version ("1.2") is not supported version

Another note: I was still having the error trying to build from Rider even after uninstalling vs 2022, and it turns out I needed to delete riderlink from my plugins.