We have one solution with .net and C++ projects, and dependencies between them. Is SonarQube supports this with SonarScanner.MSBuild.exe?

Does you project compiles when you build it without SonarScanner and wrapper ?
This seems to me like a compilation problem, not a SonarQube problem.
I forgot to mention this implicit prerequisite that your code should compile before being able to analyze it !