Skip to content

MakePQX Verify fails with FileLoadException #408

@gmcchessney

Description

@gmcchessney

Preflight Checklist

Power Query SDK

0.7.1

Regression From

No response

Platform

Windows

Architecture

x64

OS Version

Windows 11

VSCode version

1.118.0

PQSdkTool Path

unsure

Bug Description

When I run MakePQX verify test.pqx it fails with this exception:

System.IO.FileLoadException: Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
   at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options)
   at Microsoft.Mashup.MakePQX.Program.<>c__DisplayClass4_4.<Main>b__8()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at Microsoft.Mashup.MakePQX.Program.Main(String[] args)

Steps to Reproduce

  1. Build .mez file using the extension
  2. Use MakePQX pack to create a .pqx file
  3. Use MakePQX sign to sign the .pqx file
  4. Run MakePQX verify test.pqx

Actual Experience

FileLoadException occurs upon running MakePQX verify test.pqx.

Expected Experience

No response

Additional Context

I downloaded version 2.145.5 of the Microsoft.PowerQuery.SdkTools nuget package and used that version of MakePQX and it worked without throwing an exception. I haven't tried every version between 2.145.5 and 2.153.3, but I know for sure that 2.150.3 and 2.153.3 have this same issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions