powerplatform-build-tools icon indicating copy to clipboard operation
powerplatform-build-tools copied to clipboard

pac solution check is broken - newtonsoft.json error

Open andywij-bupa opened this issue 6 months ago • 2 comments

Describe the bug pac solution check throws Error: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

To Reproduce Steps to reproduce the behavior:

  1. Install latest pac
  2. run pac solution check --path .\MySolution.zip --outputDirectory . --saveResults false

Expected behavior command runs successfully

Screenshots

Image

Additional context Tried with all solutions. ADO Pipeline was fine yesterday, broken today.

andywij-bupa avatar Aug 12 '25 04:08 andywij-bupa

Hi,

I have just the same issue. I was about to create a ticket when I saw it already existed...

I hope this will be fixed quickly.

Regards Sybaris

sybaris avatar Aug 12 '25 06:08 sybaris

hi, This issue has been resolved in the Azure Power Platform Tool with the latest version 2.0.96 in the ADO pipeline.

ANILKUMAR-NAIK avatar Aug 13 '25 04:08 ANILKUMAR-NAIK