Description
This bug is similar to QTVSADDINGBUG-33 and QTBUG-7288 with an important difference and I wanted to make sure that the fix for #33 also handled the following case:
In the Qt Project Settings, when I use a MocDirectory that contains JUST the path ".\GeneratedFiles" (no ConfigurationName and no PlatformName) the following will happen:
When editing a file.cpp that has to be moc'ed, then the moc_file.cpp will be excluded from build, as soon as the changes in the file are saved. In the VS Solution Explorer a STOP sign appears on the moc_file.cpp, and in the Properties of this file (accessed from the Solution Explorer), it says "Excluded From Build: Yes".
Note that because there are no sub-folder(s) under GeneratedFiles there will be only a single moc'ed .cpp file. No need to do any exclusions whatsoever.