CUDA build failed on VS2013 using 2010 project setting. Verified the same build is successful with VS2010. Our dev environment is up to VS2013 lately but still keeps the projects in 2010 version.
Error:
1>------ Build started: Project: AutoFaultPicker, Configuration: Debug x64 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 5.0.targets(535,13): error MSB4064: The “Name” parameter is not supported by the “SetEnvironmentVariable” task. Verify the parameter exists on the task, and it is a settable public instance property.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 5.0.targets(534,9): error MSB4063: The “SetEnvironmentVariable” task could not be initialized with its input parameters.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
We use the standard CUDA setup and build files. Please help. THANKS.