gsimardnet / PowerQueryNet

Run M Language (Power Query Formula Language) from anywhere.
MIT License
189 stars 31 forks source link

CreateExecution method not found #29

Open tvinko opened 2 years ago

tvinko commented 2 years ago

I have a problem with running basic HelloWorld example:

var q = new Query { Formula = "let hw = \"Hello World\" in hw" }; var pq = new PowerQueryCommand(); var result = pq.Execute(q);

Exception message from result gives me following info:

Method not found: 'System.Threading.Tasks.Task`1 Microsoft.Mashup.Tools.QueryExecutor.CreateExecution(Microsoft.Data.Mashup.MashupConnectionStringBuilder, Microsoft.Mashup.Tools.CredentialStore, Boolean)'.

I suspect that this is related due to PowerQuerySdk.vsix 1.0.0.16 dependency.

I cannot find v1.0.016 anymore to test against this version, so i'm using current version 1.0.0.25

Is this known error?

sio commented 2 years ago

The link in this project README still works for v1.0.016. Could you try it?

On Thu, 30 Sep 2021, 13:43 Tomaž Vinko, @.***> wrote:

I have a problem with running basic HelloWorld example:

var q = new Query { Formula = "let hw = \"Hello World\" in hw" }; var pq = new PowerQueryCommand(); var result = pq.Execute(q);

Exception message from result gives me following info:

Method not found: 'System.Threading.Tasks.Task`1 Microsoft.Mashup.Tools.QueryExecutor.CreateExecution(Microsoft.Data.Mashup.MashupConnectionStringBuilder, Microsoft.Mashup.Tools.CredentialStore, Boolean)'.

I suspect that this is related due to PowerQuerySdk.vsix 1.0.0.16 dependency.

I cannot find https://marketplace.visualstudio.com/items?itemName=Dakahn.PowerQuerySDK v1.0.016 anymore to test against this version, so i'm using current version 1.0.0.25

Is this known error?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gsimardnet/PowerQueryNet/issues/29, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACRYPA6GYK355IBPDYXD23UEQ5NPANCNFSM5FCAO6BQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

tvinko commented 2 years ago

Hey @sio , thanks, my bad. If I copy url and open in in new window I can download it.