Skip to content
Discussion options

You must be logged in to vote

I think I figured it out. I noticed that if I open just the TripPin part 7 sample code folder in VS Code (rather than the top level "DataConnectors" folder from the GitHub repo) then the compilation error goes away.

Then by a "spot the difference" process I noticed that there was a difference in the settings.json file in that folder vs the code I was working on. The third line of the settings.json file (below) was missing from my code, once I added this everything worked fine.

{
  "powerquery.sdk.defaultQueryFile": "${workspaceFolder}\\${workspaceFolderBasename}.query.pq",
  "powerquery.sdk.defaultExtension": "${workspaceFolder}\\bin\\AnyCPU\\Debug\\${workspaceFolderBasename}.mez",
  "pow…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by robnelder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants