CUDA 5.0 portability to VS2017 and Windows 10 without upgrading CUDA tool kit.

Hi all,
I have a project which is written using CUDA 5.0 and VS2010 in windows 7 platform. Now I have to port it into VS2017 and Windows 10. Is it possible?

If not could you please suggest the latest CUDA version which supports VS 2017?