nvcc fatal : Don't know what to di with "Toolkit/CUDA/v9.1./include"

Hello,

I’m trying to compile a visual studio project that involves CUDA. I have this error when I try to compile using nvcc:

nvcc fatal : Don't know what to di with "Toolkit/CUDA/v9.1./include"

Not sure what this error even means…

Any suggestion?

you have a badly formed compile command

it would be impossible to say how/why without seeing the full compile command as well as probably knowing how you set up the project