Need to change the CUDA version manually when upgrade to latest CUDA version in Windows ENV

I am using the CUDA on Windows ENV through visual studio. But when I upgrade the CUDA version every time, I must manually modify the version in the *.vcxproj project file. Do you have any automatic method or Macro that can avoid modifying this file?