# Legato on VS Code doens't build

**URL:** https://forum.legato.io/t/legato-on-vs-code-doenst-build/6013
**Category:** Legato Application Framework
**Created:** [November 8, 2021, 8:53am UTC](https://forum.legato.io/t/legato-on-vs-code-doenst-build/6013 "2021-11-08T08:53:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![valerio.pauciullo](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@valerio.pauciullo](https://forum.legato.io/u/valerio.pauciullo)
#### Post date: [November 8, 2021, 8:53am UTC](https://forum.legato.io/t/legato-on-vs-code-doenst-build/6013/1 "2021-11-08T08:53:53Z")

</div>

Hi, I’m trying to build my test project with Legato using VS Code plug-in but when I click on ‘Build’ the legato shell show me this error:

\*\* ERROR:  
/home/kineton/mangOHWorkspace/mySystem.sdef:51:9: error: Unrecognized section name ‘appSearch’.  
The terminal process “bash ‘-c’, ‘mksys ${LEGATO\_DEF\_FILE} -s components -t ${LEGATO\_TARGET} -w ${LEGATO\_OBJECT\_DIR} -o ${LEGATO\_OUTPUT\_DIR}’” failed to launch (exit code: 1).

Can someone help me with this error? Thank you!

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)
#### Post date: [November 8, 2021, 11:37am UTC](https://forum.legato.io/t/legato-on-vs-code-doenst-build/6013/2 "2021-11-08T11:37:23Z")

</div>

Which module and legato version are you using?

Other user can build it with “appSearch” on Legato 18.09.4

> **[Runtime failure when client tries to connect to service](https://forum.mangoh.io/t/runtime-failure-when-client-tries-to-connect-to-service/4373/15)**
>
> @jchitty I have a similar problem, but I am currently building using leaf shell and mksys command. Nov 6 14:00:51 fx30s user.err Legato: =ERR= | serviceDirectory\[1221\]/serviceDirectory T=main | serviceDirectory.c DispatchToServer() 713 | Client...

---

<div class="post-metadata">

### Author: ![valerio.pauciullo](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@valerio.pauciullo](https://forum.legato.io/u/valerio.pauciullo)
#### Post date: [November 9, 2021, 10:48am UTC](https://forum.legato.io/t/legato-on-vs-code-doenst-build/6013/3 "2021-11-09T10:48:59Z")

</div>

Hi! I figured out! The problem was the build version. I was using the legato wp76stable with the swi-1.0.0. I switched the version to swi-5.2.0 in Linux distribution (Ubuntu 18.04 LTS). Using this version I finally completed the build on my PC.

Thank you anyway!
