Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
2.7.1
-
None
-
5a34dfd2299dbe7c4c5cf80c68d8ec571f0008af (qt-labs/vstools/dev)
Description
Project files that import props files from paths including $(SolutionDir) result in background build errors like these:
MyProjectFile.vcxproj: background build ERROR: The imported project "C:\MSVCProj\MyProjectFile\MySolution.props" was not found. Confirm that the expression in the Import declaration "C:\MSVCProj\MyProjectFile\MySolution.props" is correct, and that the file exists on disk. C:\MSVCProj\MyProjectFile.vcxproj
The import declaration is as follows:
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(SolutionDir)MySolution.props" /> </ImportGroup>
The props file exists in the Solution directory, but Qt VS Tools is looking in the Project directory instead.
It seems that Qt VS Tools is using the project directory instead of the solution directory for this background build task.
Attachments
Issue Links
- depends on
-
QTVSADDINBUG-883 background build error when using common props file
- Closed
- relates to
-
QTVSADDINBUG-795 .props files stored into wrong folder
- Closed