# Legot Build : The task provider for ""

**URL:** <https://forum.legato.io/t/legot-build-the-task-provider-for/5293>\
**Category:** VSCode\
**Created:** [July 8, 2020, 2:34pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293 "2020-07-08T14:34:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ph38240](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/ph38240/32/963_2.png) [@Ph38240](https://forum.legato.io/u/Ph38240)\
**Post date:** [July 8, 2020, 2:34pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/1 "2020-07-08T14:34:15Z")

</div>

Hello

I’ve just install vscode 1.46.1, legato plugin 1.2 and leaf 2.3 on my ubuntu 20.04.

When i try to compile, i’ve always a task error with the message :  
`The task provider for "" tasks unexpectedly provided a task of type "Legato Build".`

Other problems :  
when I try to remove component, only the sdef file is update but the legato view a empty removed component.

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [July 16, 2020, 8:57am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/2 "2020-07-16T08:57:03Z")

</div>

@Ph38240, you are trying to compile what? a Legato app or system?

---

<div class="post-metadata">

**Author:** ![Ph38240](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/ph38240/32/963_2.png) [@Ph38240](https://forum.legato.io/u/Ph38240)\
**Post date:** [July 16, 2020, 11:48am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/3 "2020-07-16T11:48:53Z")

</div>

This message happen when I use “legato: build” or “legato: build and install” after press shift+ctrl+b

The legato plug-in make a system build “mksys”.  
The build is OK, but a have the error message.

Now I use the command line in a separate shell to make just the application build ( I don’t know how to make a application build in vscoder with the plug-in

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [July 17, 2020, 8:46am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/4 "2020-07-17T08:46:32Z")

</div>

@Ph38240, to just build the app you need to change and to select the app .adef file in the .xdef menu (bottom blue bar), as is explained here: [vsCode .xdef menu - Legato Docs](https://docs.legato.io/latest/tools_vsCodeDefinition.html)

---

<div class="post-metadata">

**Author:** ![Ph38240](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/ph38240/32/963_2.png) [@Ph38240](https://forum.legato.io/u/Ph38240)\
**Post date:** [July 17, 2020, 5:23pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/5 "2020-07-17T17:23:55Z")

</div>

Ok, but i’ve always the error message

---

<div class="post-metadata">

**Author:** ![EinarSundgren](https://avatars.discourse-cdn.com/v4/letter/e/c68b51/32.png) [@EinarSundgren](https://forum.legato.io/u/EinarSundgren)\
**Post date:** [July 21, 2020, 10:03am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/6 "2020-07-21T10:03:22Z")

</div>

Having the exact same problem on:  
VS Code 1.47.1, legato plugin 1.2 and leaf 2.3 runing on Ubunto 18.04

> [@Ph38240](#):
>
> 1.46.1, legato plugin 1.2 and leaf 2.3 on my ubuntu 20.04.

---

<div class="post-metadata">

**Author:** ![Ph38240](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/ph38240/32/963_2.png) [@Ph38240](https://forum.legato.io/u/Ph38240)\
**Post date:** [July 21, 2020, 3:12pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/7 "2020-07-21T15:12:40Z")

</div>

Now, i’ve just install the latest VsCode 1.17.2  
The message is always present and now the legato: hierarchy view is empty !

I uninstall legato plugins and install , but nothing

---

<div class="post-metadata">

**Author:** ![Ph38240](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/ph38240/32/963_2.png) [@Ph38240](https://forum.legato.io/u/Ph38240)\
**Post date:** [July 27, 2020, 1:43pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/8 "2020-07-27T13:43:18Z")

</div>

To be more precise, the message from stack " `The task provider for "" `" come when i just press ctrl + shift + b key and the build drop down showing !

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [August 12, 2020, 2:49pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/9 "2020-08-12T14:49:25Z")

</div>

@Ph38240, To well understand, the build action worked well, but you get just this error message, right? I think it will disappear by relaunching vscode.  
About the legato: hierarchy view, I agree it doesn’t work well for the moment, what you want to do with legato: hierarchy view you can do it with workspace explorer section.

---

<div class="post-metadata">

**Author:** ![Ph38240](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/ph38240/32/963_2.png) [@Ph38240](https://forum.legato.io/u/Ph38240)\
**Post date:** [August 12, 2020, 3:34pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/10 "2020-08-12T15:34:08Z")

</div>

I reinstall all (leaf vscode plug-in) tree times, but the error alway appeared.  
The hierarchy is for managing ccomponent/app…

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [August 13, 2020, 8:04am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/11 "2020-08-13T08:04:12Z")

</div>

I could not reproduce the problem, here is my setup:  
VScode Version: 1.47.2 | Legato Plugin : 1.2.0 | LeafMinVersion": “2.3.1” | OS: Linux x64 5.3.0-61-generic - Ubuntu 18.04.3 LTS | wp76 R13.3 package

---

<div class="post-metadata">

**Author:** ![Ph38240](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/ph38240/32/963_2.png) [@Ph38240](https://forum.legato.io/u/Ph38240)\
**Post date:** [August 13, 2020, 9:48am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/12 "2020-08-13T09:48:30Z")

</div>

Here’s my system setup:  
VsCode Version: 1.47.3 Date: 2020-07-23T15:51:39.791Z  
Plugin legato : 1.2.0  
OS: Linux x64 5.4.0-44-generic - Ubuntu 20.04.1 LTS  
Leaf version 2.3.1  
Legato Package :

- swi-wp77\_3.4.0 - SDK for WP77 (Release 12 + Legato 20.04.0)
- swi-vscode-support\_200624 - VS Code features support for legacy SDKs

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [August 20, 2020, 7:08am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/13 "2020-08-20T07:08:16Z")

</div>

Even with your setup i could not get this message, can you describe more what you have done (steps) please?

---

<div class="post-metadata">

**Author:** ![Ph38240](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/ph38240/32/963_2.png) [@Ph38240](https://forum.legato.io/u/Ph38240)\
**Post date:** [August 21, 2020, 11:56am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/14 "2020-08-21T11:56:59Z")

</div>

Hy mehdiALL1

It’s very simple, I follow exactly the tutorial on [doc.legato.io](http://doc.legato.io) ([Install the Legato Plugin for VSCode - Legato Docs](https://docs.legato.io/latest/tools_vsCodeInstall.html)).

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [August 22, 2020, 8:06pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/15 "2020-08-22T20:06:11Z")

</div>

Yes, I know how to do it … don’t know what is the cause of this message… but at least you are able to build successfully … so you are not blocked

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/mpetersen/32/966_2.png) [@mpetersen](https://forum.legato.io/u/mpetersen)\
**Post date:** [August 28, 2020, 7:49pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/16 "2020-08-28T19:49:56Z")

</div>

Just started running into the same issue: legato: hierarchy view completely empty.

Worked fine yesterday at the end of the day when I shut it down → today it is completely empty!

Been running through every element of the settings and config and all appears to be in order.

Thoughts?

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [August 31, 2020, 8:11am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/17 "2020-08-31T08:11:53Z")

</div>

Hi @mpetersen … this issue (legato: hierarchy view) has already been reported internally … I’ll update you here :

> [@Hierarchy View Disappeared](https://forum.legato.io/t/hierarchy-view-disappeared/4926/4):
>
> Hi @mpetersen … this issue has already been reported internally … I’ll update you soon

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/mpetersen/32/966_2.png) [@mpetersen](https://forum.legato.io/u/mpetersen)\
**Post date:** [August 31, 2020, 3:06pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/18 "2020-08-31T15:06:52Z")

</div>

Thanks mehdiALL1,  
I will try to wait patiently for your update.

Mike

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [December 4, 2020, 8:48am UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/19 "2020-12-04T08:48:46Z")

</div>

The root cause being an issue in either the sdef, or adef, or even file structure. The parsing is so strict that any error or misconfiguration prevents the view from loading.  
If the view is already loaded, it will show statically until the next time it is reloaded (most likely when vscode is reopened).  
We will bring up this and other high priority bugs to see if we can plan for a release…

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/mpetersen/32/966_2.png) [@mpetersen](https://forum.legato.io/u/mpetersen)\
**Post date:** [December 4, 2020, 4:00pm UTC](https://forum.legato.io/t/legot-build-the-task-provider-for/5293/20 "2020-12-04T16:00:50Z")

</div>

@mehdiALL1

Appreciate the update. Can you list any of the “syntax” or “structural” items that you’ve identified to date that result in View loading failure? Is it a true statement that removal of the culprit App will re-enable the View to load?

Thanks

[Next page](https://forum.legato.io/t/legot-build-the-task-provider-for/5293.md?page=2)
