Thursday, 1 September 2011

CUDA Env Error

The result "" of evaluating the value "$(CudaBuildTasksPath)" of the "AssemblyFile" attribute in element <UsingTask> is not valid. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.0.targets
1. Close Solution on the Visual Studio
2. Find project file.
vcxproj file:
look for
  <ImportGroup Label="ExtensionSettings" />
  <ImportGroup Label="ExtensionSettings">

replace with
  <ImportGroup Label="ExtensionSettings">
    <Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 4.0.props" />
3. Done.

Visual Studio 2010
CUDA 4.0
Windows 7

No comments: