title: Which version of Cuda toolkit can I use with MSVC 2015
body: <p>I recently upgraded from msvc 2005 to 2015.
  I have compiled my code with revision 4.2 of cuda toolkit for year. I'm now learning the hard way that there is no forward compatibility betweend visual and cuda, however Google shows that some trick exists to force the compilation (messing up with .props and .targets files).</p>
  
  <p>From what I understand, cuda 4.2 is a no-go. nvcc seems to have an hardcoded check on the msvc revision.
  My questions are:</p>
  
  <ul>
  <li><p>is there a way to compile with cuda 5.x or 6.x? </p></li>
  <li><p>worst case scenario is that I have to update to cuda 7.5, does it even work?</p></li>
  </ul>
  
  <p>Thanks for your help.</p>