CUDA 4.0 Build Rules

I was using CUDA 3.2, now I need to change to CUDA 4.0. While using CUDA 3.2, I used CUDA VS Wizard to create the rules file. For 4.0, in SDK folder, I can’t find cuda.rules file provided by CUDA. There is a rule named CUDA Runtime API Build Rule in Custom Build Rules. If I use it, my application does not compile. If I use the old rules file I get the error:
("Error 8 error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”)

How I am going to generate the rules file for CUDA 4.0?

Thank you

@hiko I am finding the same trouble. Did you find the answer to your question. Please post here. It would be very very helpful.

Shyam B