Difficulty in moving Office Add-in to VS Code
David Sutherland
20
Reputation points
I raised this problem on Stack Overflow about two weeks ago, but nobody has given me an answer. Maybe you can help!I have been following this: https://learn.microsoft.com/en-us/office/dev/add-ins/overview/create-an-office-add-in-from-script-lab, and my example (see picture) works correctly. Despite this, in vs-code you it reports multiple errors - Office is not defined, $ is not defined, and it even objects to the use of console. What am I doing wrong?