<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123234/nrf-connect-for-vs-code-no-longer-building-project</link><description>Hello, 
 for some time I didn&amp;#39;t have to work on my project that uses nRF Connect SDK but recently I had to work on it again and noticed that I am not able to build my before working configurations anymore. 
 This is my build log: 
 
 And this is the build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Oct 2025 06:43:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123234/nrf-connect-for-vs-code-no-longer-building-project" /><item><title>RE: nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/thread/552318?ContentTypeID=1</link><pubDate>Fri, 24 Oct 2025 06:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71fe718c-8849-44f8-b8c7-9a1e689c207b</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Maybe this can help to fix the issue.&lt;/p&gt;
&lt;p&gt;These are the steps how I can consistently reproduce the issue:&lt;/p&gt;
&lt;p&gt;1. Create a folder test-workspace&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Open the folder&amp;nbsp;test-workspace in VS Code&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;Create the file &amp;quot;.devcontainer/devcontainer.json&amp;quot; and add the following content to this file:&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
    &amp;quot;image&amp;quot;: &amp;quot;ghcr.io/nrfconnect/sdk-nrf-toolchain:v3.1.1&amp;quot;,
    &amp;quot;customizations&amp;quot;: {
        &amp;quot;vscode&amp;quot;: {
            &amp;quot;extensions&amp;quot;: [
                &amp;quot;nordic-semiconductor.nrf-connect-extension-pack&amp;quot;
            ]
        }
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;Press F1 in VS Code and select &amp;quot;Dev Containers: Reopen in Container&amp;quot;&lt;/p&gt;
&lt;p&gt;5.&amp;nbsp;Use the internal bash terminal of VS Code to execute:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;west init -m https://github.com/nrfconnect/sdk-nrf.git --mr v3.1.1 . &amp;amp;&amp;amp; west update&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;6.&amp;nbsp;Create the file &amp;quot;.vscode/settings.json&amp;quot; and add the following content to this file:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
    &amp;quot;nrf-connect.toolchainManager.installDirectory&amp;quot;: &amp;quot;/opt/ncs&amp;quot;,
    &amp;quot;nrf-connect.applications&amp;quot;: [
        &amp;quot;${workspaceFolder}/nrf/applications/nrf_desktop&amp;quot;
    ]
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;7.&amp;nbsp;Press F1 in VS Code and select &amp;quot;Developer: Reload Window&amp;quot;&lt;/p&gt;
&lt;p&gt;8.&amp;nbsp;Add build configuration with this settings:&lt;br /&gt;&amp;nbsp; &amp;nbsp; - Board target=nrf52840dk/nrf52840&lt;br /&gt;&amp;nbsp; &amp;nbsp; - Base config file=configuration/nrf52840dk_nrf52840/prj.conf&lt;br /&gt;&amp;nbsp; &amp;nbsp; - Generate only=True&lt;br /&gt;&amp;nbsp; &amp;nbsp; - Everything else should be untouched&lt;/p&gt;
&lt;p&gt;9.&amp;nbsp;Building should fail with similar error message:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Building nrf_desktop
west build --build-dir /workspaces/test-workspace/nrf/applications/nrf_desktop/build /workspaces/test-workspace/nrf/applications/nrf_desktop --pristine --board nrf52840dk/nrf52840 --cmake-only -- -DCONF_FILE=configuration/nrf52840dk_nrf52840/prj.conf

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /opt/ncs/toolchains/b2ecd2435d/usr/local/bin/python3.12 (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /opt/.cache/zephyr
-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52840dk, qualifiers: nrf52840
Parsing /workspaces/test-workspace/zephyr/share/sysbuild/Kconfig
Loaded configuration &amp;#39;/workspaces/test-workspace/nrf/applications/nrf_desktop/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;/workspaces/test-workspace/nrf/applications/nrf_desktop/sysbuild/../configuration/nrf52840dk_nrf52840/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;/workspaces/test-workspace/nrf/applications/nrf_desktop/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/workspaces/test-workspace/nrf/applications/nrf_desktop/build/_sysbuild/autoconf.h&amp;#39;
-- 
   *********************************
   * Running CMake for nrf_desktop *
   *********************************

Loading Zephyr default modules (Zephyr base).
-- Application: /workspaces/test-workspace/nrf/applications/nrf_desktop
-- CMake version: 3.21.0
-- Found Python3: /opt/ncs/toolchains/b2ecd2435d/usr/local/bin/python (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /opt/.cache/zephyr
-- Zephyr version: 4.1.99 (/workspaces/test-workspace/zephyr)
-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52840dk, qualifiers: nrf52840
-- Found host-tools: zephyr 0.17.0 (/opt/ncs/toolchains/b2ecd2435d/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (/opt/ncs/toolchains/b2ecd2435d/opt/zephyr-sdk)
-- Found Dtc: /opt/ncs/toolchains/b2ecd2435d/usr/bin/dtc (found suitable version &amp;quot;1.5.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: /workspaces/test-workspace/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts
-- Found devicetree overlay: /workspaces/test-workspace/nrf/applications/nrf_desktop/configuration/nrf52840dk_nrf52840/app.overlay
-- Generated zephyr.dts: /workspaces/test-workspace/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/zephyr.dts
-- Generated pickled edt: /workspaces/test-workspace/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/edt.pickle
-- Generated devicetree_generated.h: /workspaces/test-workspace/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/include/generated/zephyr/devicetree_generated.h
CMake Error at /workspaces/test-workspace/zephyr/cmake/modules/kconfig.cmake:308 (message):
  File not found:
  /workspaces/test-workspace/nrf/applications/nrf_desktop/configuration/nrf52840dk_nrf52840/configuration/nrf52840dk_nrf52840/prj.conf
Call Stack (most recent call first):
  /workspaces/test-workspace/nrf/cmake/modules/kconfig.cmake:83 (include)
  /workspaces/test-workspace/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
  /workspaces/test-workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /workspaces/test-workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:14 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
  CMake configure failed for Zephyr project: nrf_desktop

  Location: /workspaces/test-workspace/nrf/applications/nrf_desktop
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:21 (include)
  /workspaces/test-workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  /workspaces/test-workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  /workspaces/test-workspace/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  /workspaces/test-workspace/nrf/applications/nrf_desktop/sysbuild/CMakeLists.txt:26 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;/workspaces/test-workspace/nrf/applications/nrf_desktop/build/CMakeFiles/CMakeOutput.log&amp;quot;.
FATAL ERROR: command exited with status 1: /opt/ncs/toolchains/b2ecd2435d/usr/local/bin/cmake -DWEST_PYTHON=/opt/ncs/toolchains/b2ecd2435d/usr/local/bin/python3.12 -B/workspaces/test-workspace/nrf/applications/nrf_desktop/build -GNinja -DBOARD=nrf52840dk/nrf52840 -DCONF_FILE=configuration/nrf52840dk_nrf52840/prj.conf -S/workspaces/test-workspace/zephyr/share/sysbuild -DAPP_DIR:PATH=/workspaces/test-workspace/nrf/applications/nrf_desktop&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/thread/547283?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 09:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e93c395-0a0d-471d-8dac-0faf997445c1</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for reporting. We are yet to find a solution and are still working on this.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/thread/546589?ContentTypeID=1</link><pubDate>Mon, 25 Aug 2025 09:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6de467ef-c028-422e-9170-ab587871c5f5</guid><dc:creator>ItsWednesdayMyDudes</dc:creator><description>&lt;p&gt;Hello Priyanka,&lt;br /&gt;&lt;br /&gt;I am having the exact same issue as David and can not build my projects. Please do not give up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/thread/543935?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2025 12:11:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38f3864f-27ce-4ba2-8fe1-2dbcd440748b</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;I am checking this internally with the team. Similar issue has been reported, but I am not able to reproduce it here. I am discussing this with experts and will get back to you as soon as I get a solution.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/thread/543904?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2025 09:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79db0f69-c309-459c-bf67-eae179c2edbc</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;when I&amp;#39;m building in the SDK path I have the same issue. I tried it with both versions I have installed 2.0.2 and 2.6.1. Before building I deleted the build folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/thread/543900?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2025 09:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bea81940-4548-408a-bc08-beb8db57f102</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;I am not able to replicate your error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you&amp;nbsp;try to build within the actual path and see if the issue arises?, i.e. build within&amp;nbsp;C:\NCS\v2.6.1\nrf\applications\nrf_desktop\&lt;/p&gt;
&lt;p&gt;instead of creating a separate workspace at&amp;nbsp;c:\project\debug&lt;/p&gt;
&lt;p&gt;Please try this and let me know how it goes. Also, please delete the existing build file and application as well and do a fresh build in the new location.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/thread/543529?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 13:54:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24ee5467-1a61-43e5-a271-cd8c3e9e6b4f</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Hi Pryanka,&lt;/p&gt;
&lt;p&gt;sure, attached you can find the Support Information file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2451.nrf_2D00_connect_2D00_support_2D00_20250724135101.json"&gt;devzone.nordicsemi.com/.../2451.nrf_2D00_connect_2D00_support_2D00_20250724135101.json&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VS Code no longer building project</title><link>https://devzone.nordicsemi.com/thread/543527?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 13:47:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b340ef8c-dd02-425a-ab06-0782534ebbe0</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Could you attach the Support Information?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1753364837098v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>