How can I fix VS's error detection?

Hello,

When I add stuff to the Include part of my Build.cs files, VS completely ignores it ; when I use an include to a file which is linked through the Build.cs file, VS tells me that the file cannot be found and underlines it… and it’s the same when I use things from this include. But when I compile the project, it works fine.

How can I tell VS to check the Build.cs file when it checks the errors ? If it’s not possible, how can I disable the error detection functionnality ? It’s very annoying to have the whole code underlined in red…

Thanks !