CreativeDataEU / PowerBITrinoConnector

A Micosoft Power BI Custom Connector allowing you to import Trino data into Power BI.
MIT License
38 stars 15 forks source link

Build error : Expect only one power query file ending with either .pq or .m #10

Closed SBatais closed 5 months ago

SBatais commented 6 months ago

Hello I'm trying to build the connector in VSCode, and I get this following error. I did only a git clone of the project, and just tried to build I'm using VSCode version 1.85.2 with the extension Power Query SQL version v0.2.3

 *  Executing task: c:\Users\xxxxx\.vscode\extensions\powerquery.vscode-powerquery-sdk-0.2.3-win32-x64\.nuget\Microsoft.PowerQuery.SdkTools.2.114.4\tools\MakePQX.exe compile c:\Users\xxxxx\mydocs\git\GitHub\trino\PowerBITrinoConnector 

Build source directory: 'c:\Users\xxxxx\mydocs\git\GitHub\trino\PowerBITrinoConnector' Expect only one power query file ending with either .pq or .m

Usage: MakePQX compile [arguments] [options]

Arguments:
  Source directory  Directory containing the extension source code.

Options:
  -?  | -h | --help  Show help information
  -d  | --directory  Output directory. Defaults to bin\AnyCPU\Debug
  -t  | --target     Output file name. Defaults to the same name as the current working directory name

 *  The terminal process "c:\Users\bngs7327\.vscode\extensions\powerquery.vscode-powerquery-sdk-0.2.3-win32-x64\.nuget\Microsoft.PowerQuery.SdkTools.2.114.4\tools\MakePQX.exe 'compile', 'c:\Users\bngs7327\mydocs\git\GitHub\trino\PowerBITrinoConnector'" terminated with exit code: 4294967294.

Thanks in advance for your help

pichlerpa commented 5 months ago

Hey @SBatais,

You need to navigate one folder down; your build source directory should be: c:\Users\xxxxx\mydocs\git\GitHub\trino\PowerBITrinoConnector\Trino

The code is still mixed up with the old SDK using Visual Studio.

Regards, Patrick