且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

TFS 2015.1-vNext-使用NuGet打包程序,但无法创建程序包,参数无效

更新时间:2023-02-09 07:44:28

在构建服务器上运行构建的位置似乎有问题:

It looks like a problem with the location where the build is running on the build server:


C:\TFS Build Agent\agent\agent\agent\worker\tools\NuGet.exe包C:\TFS
构建Agent\agent_work\2\s\WebFeatureService.csproj -OutputDirectory
C:\TFS构建Agent\agent_work\2\s-Properties Configuration = Debug

C:\TFS Build Agent\agent\agent\worker\tools\NuGet.exe pack C:\TFS Build Agent\agent_work\2\s\WebFeatureService.csproj -OutputDirectory C:\TFS Build Agent\agent_work\2\s -Properties Configuration=Debug

由于CSPROJ文件路径周围缺少引号,因此这在服务器上可能很麻烦。

This is probably struggling on the server due to the lack of quotes around the path to the CSPROJ file.

在我的VSTS托管的构建代理上,所有操作都在 C:\a\1\s\ ...

On my VSTS hosted build agent everything is executing in C:\a\1\s\....

尝试更改代理的本地安装。

Try changing the local installation of the Agent.

如果发现是它,让我知道,我想我知道需要做些什么来解决它。

If that turns out to be it, let me know, I think I know what needs to be done to fix it.