For last four months I ws able to create and build several HTML5 projects using Visual Studio Code. For each new project I simply made a new folder, copied and editing the project.xml file, created the folders for the assets and source files and made those files. Then I would invoke the Run Build Task command, choose Build and the project would be built. The last time I did that was three weeks ago.
Today I did what I’ve always done for a new project but this time when I invoked the Run Build Task command, I got this:
I tried the MSBuild template but that gave me build errors that didn’t make any sense to me. I tried opening older projects and build them and each case I got the “No build task” error.
Since it seemed to want a tasks.json file I looked for that and I found a hidden folder named “.vscode” with it and a file called launch.jason. There was several such folders, one in the directory that had all my project folders and in some but not all of the project folders. They are:
So I copied that into my new projects folder and then when I tried to build I got this after the “No build task error”:
It opened the file shown above but still when I tried to build I got the “No build task” error.
I have no clue what’s causing this or how to fix it.