Solved. After adding all my references to a a fresh project in vs2019 it still compiled and ran.
But I noticed it was set at “x86” rather than “Any Cpu”. Switching my project to “x86” made it work straight away.
Ideally I want to ship my game to PS4 as well as PC but i’ll worry about that when it’s finished.
Maybe this might be useful to someone anyway.