In Visual Studio 2008, if I have a file kernel.cu that depends on header.h and I modify header.h, kernel.cu will not automatically recompile. Already, this has caused me a couple of bug hunts where I had assumed that the CUDA files would recompile like normal .c or .cpp files. When I look at the properties of kernel.cu, I do not see any way of adding dependencies. I wish I could enable automatic dependency analysis like is done for C and C++. Also, I have found that the dependency analysis works correctly for Visual Studio 2010, so the problem is isolated to Visual Studio 2008.