My team is working on a TFS/VSTS custom build task that utilizes the vsts-task-lib.
We followed the instructions on this github page to include it with your custom
You need to move the SDK files to ...\VstsTaskSdk\* rather than them being in a version specific folder. I ran into the same issue and resolved it this way.
...\VstsTaskSdk\*