I recently installed Cuda 4.0 on Win7 64-bit, but can’t compile any of the examples because the custom build rules file is missing. I have VS 2005, 2008, and 2010 all installed, but I am unable to find a .rules file in any of the the VCProjectDefaults directories, so no example projects will load. I did not have any previous versions of Cuda installed on this machine. Can anyone just post the content of the .rules file so I can install it myself?
Re-install fixed it