Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
1.16.0
-
None
-
-
397d576fdeeb6b5982562ba8524b2fe09836c0e4 (qbs/qbs/master)
Description
Since the last update for Visual Studio 16.6 the solutions generated by Qbs no longer work.
How to reproduce:
- make a simple C++ Hello World example
- Generate Visual Studio Solution
- Open generated solution
- Compile the example project
Expected behaviour:
- Qbs is invoked and the project is build
Actual behaviour:
- Error popup that something is wrong
The reason is simply that Qbs generates entries for folder and file projects in GlobalSection(ProjectConfigurationPlatforms) of the solution file.
Fix in "src/plugins/generator/visualstudio/visualstudiogenerator.cpp"
Change line 223 from:
const auto projects = solution->projects();
To:
const auto projects = solution->fileProjects();
Attachments
For Gerrit Dashboard: QBS-1569 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
304084,2 | visualstudiogenerator: fix generating projects for the new VS | master | qbs/qbs | Status: MERGED | +2 | +1 |