How to create a CUDA program with VS2005

The document “CUDA_SDK_release_notes_windows.txt” suggests us that we could build our own CUDA program on provided sln “example.sln”. It seems simple,however,causes a lot of link problems.
Now the problem is,how can we create new CUDA programs with VS2005?? I need to use EmuDebug and EmuRelease.
Thanks a lot!

What particular link problems are you having? Did you change the text of the example.sln to reflect any change in file names you made to the project?

Other options for VS2005 involve using CMake ( and FindCUDA.CMake (search the forums/google)

Or you can use the VS2005 “build rule” (search the forums)

Thanks,build rule seems better