Thanks brecht! Going back to VS2019 v16.8.6 got rid of the errors and I was able to build with CUDA support.
If anyone needs the link to get previous VS2019 versions: https://docs.microsoft.com/en-us/visualstudio/releases/2019/history#installing-an-earlier-release
Is there any way to keep track of VS, cmake, SlikSVN, GIT and CUDA versions used to build the official releases to avoid this kind of error?