In the absence of the NVidia CUDA forum, does anyone know how to fix this? It seems that the VS integration of the CUDA toolkit is having problems.
I just installed the release version of the CUDA toolkit 5 (32-bit for laptops in Windows 7), replacing the release candidate (which worked fine), and now I can not compile or build anything, including CUDA samples.
Everything I tried gives an error, for example: ... BuildCustomizations \ CUDA 5.0.targets (360.9): error MSB4062: The task "Nvda.Build.CudaTasks.ResolvePaths" cannot be loaded from the C: \ Program Files assembly (x86) \ MSBuild \ Microsoft.Cpp \ v4.0 \ BuildCustomizations \ Nvda.Build.CudaTasks.v5.0.dll, make sure the declaration is correct, that the assembly and all its dependencies are accessible, and that the task contains an open class that implements Microsoft.Build.Framework.ITask.
The "CUDA 5.0.targets" file (this is an XML file) contains several UseTask elements, and I don’t see a link to the mentioned ITask class, but I don’t want to start editing a file that I don’t understand.
A similar error is given for CUDA 4.2 if I switch Build Customisations.
This is using Visual Studio 2010 Professional. Non-CUDA projects are still compiling and building.
Any suggestions on where to start?
source share