Services构建步骤中选择Nuget

Services构建步骤中选择Nuget

本文介绍了在Visual Studio Team Services构建步骤中选择Nuget Packager版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我不能在Visual Studio Team Services的构建步骤配置中选择nuget版本?似乎对于每一个其他的nuget构建步骤(安装程序,发布者),我都可以在3.3.0和3.5.0之间进行选择,但是对于这一步,我被迫下载nuget.exe,将其检入源代码管理并提供了以下路径: exe文件.

Why I cannot choose nuget version in build step configuration in Visual Studio Team Services? It seems that for every other nuget build step (installer, publisher) I can choose between 3.3.0 and 3.5.0, but for this one I'm forced to download nuget.exe, check it into source control and provide a path to the exe.

由于nuget 3.3.0无法直接从project.json处理软件包,因此能够在此步骤中选择版本非常有意义.

Since nuget 3.3.0 cannot deal with making packages directly from project.json it would make so much sense to be able to choose the version in this step.

推荐答案

我想不出什么充分的理由,而是在仓库中查找由独立开发人员创建的任务,也许是通讯混搭,谁知道呢? :)

I cannot think of any good reason and looking at the repository for the tasks they were created by separate developers, maybe a comms mix-up, who knows? :)

通过查看打包程序的task.json可以看到此处和发布者在此处,它尚未针对打包程序实施-在此处发布商的L91 .

You can see by looking at the task.json for the Packager here and the Publisher here that it just wasn't implemented for the Packager - it's here on L91 of the Publisher.

问题#3636 已记录下来,一旦修复,将不久之后即可在VSTS上使用.

Issue #3636 was logged for it, once fixed this will be available on VSTS shortly after.

这篇关于在Visual Studio Team Services构建步骤中选择Nuget Packager版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 01:59