Skip to content

"No code found during the build." after successful compilation for C++ in Visual Studio 2019 #7365

@mbeckh

Description

@mbeckh

CodeQL reports "No code found during the build." although a compilation happened successfully. The error might be related to the argument /external:I for system include directories.

A CodeQL database generated during a failed attempt can be found here: https://github.com/mbeckh/common-cpp/suites/4628694455/artifacts/125326506

Please note: The "file" "D:\a\common-cpp\common-cpp\build\Release\src\m3c.events" mentioned in the following error message is in fact an include directory.

Catastrophic error: cannot open source file "D:\a\common-cpp\common-cpp\build\Release\src\m3c.events": Permission denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions