Describe the bug
When trying to add sources from DB to Visual Studio workspace, the output log indicates a
"Couldn't obtain file explorer uri for <dbname>"
message, but the sources are not added to the file explorer view.
Queries work like a charm and are linked to sources that will open as expected.
The issue occurs on a bundled DB zip archive as well as on an unzipped archive that was added to VS as folder.
The db zip includes both, a src folder and an src.zip.
The dbbundle has been created using
codeql database create --language=cpp --command=make <dbname>
codeql database bundle --output=<dbname>.zip --include-uncompressed-source <dbname>
on a Linux host using codeQL CLI 2.7.0
VS Code is running on a Windows host in version 1.62.3 and CodeQL Extension 1.5.7 using CodeQL CLI 2.7.2
Version
VS Code is running on a Windows host in version 1.62.3 and CodeQL Extension 1.5.7 using CodeQL CLI 2.7.2
DB was created on a Linux host using codeQL CLI 2.7.0
To reproduce
create DB as above on linux host
copy bundled DB to analyzing windows host
start vscode-codeql-starter workspace
add database from archive (or from folder after unzipping it)
rightclick on database in codeql databases section
pick "add database source to workspace"
Expected behavior
Source files are added to workspace and are visible in file explorer
Describe the bug
When trying to add sources from DB to Visual Studio workspace, the output log indicates a
"Couldn't obtain file explorer uri for <dbname>"
message, but the sources are not added to the file explorer view.
Queries work like a charm and are linked to sources that will open as expected.
The issue occurs on a bundled DB zip archive as well as on an unzipped archive that was added to VS as folder.
The db zip includes both, a src folder and an src.zip.
The dbbundle has been created using
codeql database create --language=cpp --command=make <dbname>
codeql database bundle --output=<dbname>.zip --include-uncompressed-source <dbname>
on a Linux host using codeQL CLI 2.7.0
VS Code is running on a Windows host in version 1.62.3 and CodeQL Extension 1.5.7 using CodeQL CLI 2.7.2
Version
VS Code is running on a Windows host in version 1.62.3 and CodeQL Extension 1.5.7 using CodeQL CLI 2.7.2
DB was created on a Linux host using codeQL CLI 2.7.0
To reproduce
create DB as above on linux host
copy bundled DB to analyzing windows host
start vscode-codeql-starter workspace
add database from archive (or from folder after unzipping it)
rightclick on database in codeql databases section
pick "add database source to workspace"
Expected behavior
Source files are added to workspace and are visible in file explorer