Azure Data lake analytics CI/CD

落花浮王杯 提交于 2019-12-02 07:20:19

Two things for your build definition:

1.Use Nuget restore task before VS Build task

Since you are using Microsoft.Azure.DataLake.USQL.SDK nuget package for your usql project, you should download the package to the agent build directory before building.

Detail configuration for NuGet restore task as below (assume download the package into $(Build.SourcesDirectory)\ADLAUSQL1\packages):

2.Use correct msbuild arguments

Since you specifies the Microsoft.Azure.DataLake.USQL.SDK package with version 1.3.180223, you should specify the package location and version correspondingly like:

/p:USQLSDKPath=$(Build.SourcesDirectory)/ADLAUSQL1/packages/Microsoft.Azure.DataLake.USQL.SDK.1.3.180223/build/runtime /p:USQLTargetType=SyntaxCheck /p:DataRoot=$(Build.SourcesDirectory)

Try creating a new project and follow the steps in the earlier conversations. It should be successful.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!