Failed to use .NET SDK agent in Azure DevOps Build Pipeline

后端 未结 4 1219
深忆病人
深忆病人 2021-02-19 06:33

I have a ASP.NET Core 2.1 and added a nuget package of Microsoft.WindowsAzure.Storage , But after pushing the code to repo, the build pipeline occurs package error while runnin

4条回答
  •  北荒
    北荒 (楼主)
    2021-02-19 07:06

    The following steps worked for me:

    • Add a task before restore task named "Use .Net Core"
    • Specify intended sdk version ending with 'x'. For example 2.x
    • Check "Include Preview Versions" option

提交回复
热议问题