Visual Studio dependency check

I have a CPP file which include various .i files. When I update one of the .i files, the cpp file is not compiled when I do a build. How do I get the cpp file to know that the .i file is a dependency and so needs to check its date?
You can try Build -> Rebuild solution
Yes I know that, but I'd rather not rebuild everything as it is not needed and is time-consuming. Surely VS should be able to know that the include file is a dependency?
Add the .i file to the project.
It is already in the project.
Right click on the .i file, change the 'Item Type' to 'C/C++ header'
Topic archived. No new replies allowed.