Hi,
if someone have this error when enable CUDA 4.0 rule in Visual Studio 2010:
The result “” of evaluating the value “$(CudaBuildTaskPath)” of the “AssemblyFile” attribute in element is not valid. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.0.targets
Can fix it following this thread: visual studio 2010 - Issue with production release of CUDA Toolkit 4.0 and Nsight 2.0 - Stack Overflow
It is unbelievable that CUDA 4.0 and Parallel Nsight 2.0 , production version, have so many bugs, I have wasted my time to fix this and many other problems related Visual Studio 2010 and CUDA 4.0…