[nRF Connect for VS Code] Build configurations not detected, when generated outside of application directory

Hello,

I am using the nRF Connect for VS Code plugin with my codebase, which has multiple applications.
I added a build configuration and specified the build folder to be in the root directory of the project using a relative path (../../../build).

After the successful build, the plugin won't detect and show the newly created build configuration in the applications window of the plugin

When I specify the build folder to be in the applications directory (build) it does work.

Is this intended or maybe a bug?

  • Hi Arne

    I have reached out to the VS Code extension team to get an expert opinion on this, as it doesn't sound like the intended behavior. I'll let you know when I hear from them.

    Best regards,

    Simon

    UPDATE: The devs got back to me pretty quickly, and this is a known issue, but not something we have a fix for as of yet I'm afraid. Is there a specific reason you need to build in a path outside of the applications directory?

  • It's not a serious problem by any means, but for our project it would be nice if all the build directories are in the root directory of the project and not scattered across the different applications.

    But my current solution, where the build folders are in the applictaions directors, works, so it's not a big issue.

    I just wanted to let you know, in case this was an unknown bug.

    Thanks for the quick response.

Related