Not sure that this `<IncludePath>...;$(IncludePath)</IncludePath>` will work. Maybe `$(IncludePath)` should be changed to `%(IncludePath)`. Did you test that include directories are correct?

The same applies to LibraryPath below.