Microsoft added automatic MSBuild configuration to its C++ Language Server in Copilot CLI. It now generates a compilation database at startup for MSBuild projects. This removes the need for a manual compile_commands.json file or a separate skill. The server uses Visual Studio’s MSBuild tooling to read project settings. Generation runs in the background during language server startup. Users can check progress with the /lsp logs command. Configuration can be disabled or adjusted via settings. Other build systems still require a manual compile_commands.json or a skill.
What changed
Configuring MSBuild projects in Copilot CLI required a manual compile_commands.json file or a separate configuration skill.
What it unlocks
Automatic generation of build context for MSBuild-based C++ projects in Copilot CLI.
What you need to act on it
- an MSBuild-based C++ project
- Copilot CLI with the Microsoft C++ Language Server
Sources