title: CUDA Toolkit 5 Production Release and Visual Studio 2010 Integration
body: <p>In the absence of the NVidia CUDA forum, does anyone have any idea how to fix this?
  It looks like the VS integration of CUDA toolkit has a problem.</p>
  
  <p>I just installed the production release version of the CUDA toolkit 5 (32-bit for laptops on Windows 7), replacing the release candidate (which worked well) and now I can't compile or build anything including CUDA samples.</p>
  
  <p>Everything I have tried gives an error like:
  ...BuildCustomizations\CUDA 5.0.targets(360,9): error MSB4062:
   The "Nvda.Build.CudaTasks.ResolvePaths" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\Nvda.Build.CudaTasks.v5.0.dll. 
   Confirm that the  declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.</p>
  
  <p>The "CUDA 5.0.targets" file (it is an XML file) has several UsingTask elements and I don't see any reference to the ITask class mentioned, but I am reluctant to start editing a file I do not understand.</p>
  
  <p>A similar error is given for CUDA 4.2 if I switch Build Customisations.</p>
  
  <p>This is using Visual Studio 2010 Professional.
  Non-CUDA projects still compile and build.</p>
  
  <p>Any suggestions on where to start?</p>