Team Services: Nuget Packager task failing

后端 未结 1 1511
执笔经年
执笔经年 2021-01-26 11:29

I have a Build definition in Team Services that includes a Nuget Packager task. I\'m using Hosted build agents.
In the last couple of builds this task began to fail, with th

1条回答
  •  清歌不尽
    2021-01-26 12:11

    To use nuget3.5 for nugget packager task, you can add nugget.exe to source control, and then use $(Build.SourcesDirectory)\nuget.exe as path to nugget.exe.

    For Nuget Restore and Nuget Publisher Tasks, they define 3.3 and 3.5 in their tasks. You can view task.json for all tasks definitions in VSTS task.

    If you want Nuget Packager also can choose nugget version, you should develop your own task same as Nuget Packager function and with nuget version to choose.

    0 讨论(0)
提交回复
热议问题