microsoft / vscode-asa

Azure Stream Analytics In VSCode
Creative Commons Attribution 4.0 International
10 stars 15 forks source link

NPM package azure-streamanalytics-cicd broken in Azure DevOps #67

Closed kipusoep closed 2 years ago

kipusoep commented 2 years ago

We have an issue where the latest release 2.2.6 has broken our pipeline. The azure-streamanalytics-cicd build command throws an error: Could not load file or assembly 'Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

Reverting to 2.2.5 fixes the issue.

(From: https://github.com/Azure/azure-stream-analytics/issues/122)

pengyuli-ms commented 2 years ago

Hi @kipusoep, did you use xxx.asaproj as the parameter for build -project <project_path>? could you try to use asaproj.json instead?

kipusoep commented 2 years ago

If it works, then it's still a breaking change, while the version bump was just minor. Is there a reason why the asaproj file isn't supported anymore?

pengyuli-ms commented 2 years ago

Sure @kipusoep , this is a regression from 2.2.5 -> 2.2.6, and we will figure out why and release a new version to fix this asap. Thanks for your feedback!

kipusoep commented 2 years ago

FYI I don't have a asaproj.json file in my project folder.

pengyuli-ms commented 2 years ago

Thanks! We've found the root cause and will release a new version asap.

pengyuli-ms commented 2 years ago

Hi @kipusoep , we've released a new version of CICD tool here: azure-streamanalytics-cicd 2.2.7, it should have this issue fixed, please take a try.

Thanks again for your feedback!

kipusoep commented 2 years ago

Yes works, thanks @pengyuli-ms