Microsoft Visual Studio 19.23.28107 for x64 and CUDA 10.2 fatal error

Under Windows 10 x64 platform, with Microsoft Visual Studio 19.23.28107, nvcc in CUDA 10.2 fails to compile any CU source file (just grab a deviceQuery.cu to see).

Reading the CUDA_Installation_Guide it is stated that CUDA 10.2 should support Microsoft Visual Studio 19.X.

Has anyone encountered this problem before?

PS: compiling on x64 for 64-bit applications.