相关疑难解决方法(0)

NuGet Package Restore找不到包,没有Source

我有一个由TeamCity构建的TeamCity NuGet提要包,但是一个依赖的TC项目在包恢复期间无法看到它.

[14:05:02] [Exec] E:\ TeamCity-BuildAgent\work\62023563850993a7\Web.nuget \nuget.targets(88,9):无法找到"MarkLogicManager40"软件包的版本"1.0.17.0".

[14:05:02] [Exec] E:\ TeamCity-BuildAgent\work\62023563850993a7\Web.nuget \nuget.targets(88,9):error MSB3073:命令""E:\ TeamCity-BuildAgent\work\62023563850993a7\Web.nuget \nuget.exe"install"E:\ TeamCity-BuildAgent\work\62023563850993a7\ProductMvc\packages.config"-source"" - RequestConsent -solutionDir"E:\ TeamCity-BuildAgent\work\62023563850993a7\Web \""退出代码1.

请注意,sourceNuGet命令行中的参数为空.这可能是原因吗?

.net msbuild teamcity nuget

28
推荐指数
2
解决办法
2万
查看次数

TeamCity Nuget安装构建步骤不使用多个源,其中一个是TC的私有NuGet源

在将源设置为TeamCity的NuGet服务器时,我在NuGet Install构建步骤中收到以下错误:

Step 1/4: NuGet install (NuGet Installer) (3s)

[15:11:19][Step 1/4] scan: Searching for nuget.config files

[15:11:19][Step 1/4] install: Installing NuGet packages for packages.config (3s)

[15:11:19][install] NuGet command: C:\TeamCity\buildAgent\tools\NuGet.CommandLine.2.2.0.nupkg\tools\NuGet.exe install C:\TeamCity\buildAgent\work\a4b9de5be22a981\packages.config -OutputDirectory C:\TeamCity\buildAgent\work\a4b9de5be22a981\packages -Source http://localhost:9090/guestAuth/app/nuget/v1/FeedService.svc

[15:11:19][install] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script96367186180319830.cmd

[15:11:19][install] in directory: C:\TeamCity\buildAgent\work\a4b9de5be22a981

[15:11:22][install] The remote server returned an error: (404) Not Found.

[15:11:22][install] Process exited with code 1

[15:11:22][Step 1/4] Step NuGet install (NuGet Installer) failed
Run Code Online (Sandbox Code Playgroud)

如果我将源字段留空,它将从默认提要(NuGet社区提要)中找到NuGet包,但不会在TC的NuGet提要中找到本地构建和打包并托管的包.

如何在NuGet安装程序构建步骤中同时使用默认提要和内部TC的NuGet提要?

teamcity nuget teamcity-7.1

9
推荐指数
1
解决办法
6218
查看次数

手动将nupkg文件添加到TeamCity Feed?

我有一个TeamCity服务器,其Nuget Feed已启用.我想手动添加一些第三方nupkg文件.有可能这样做吗?

teamcity nuget nuget-package

7
推荐指数
1
解决办法
2809
查看次数

标签 统计

nuget ×3

teamcity ×3

.net ×1

msbuild ×1

nuget-package ×1

teamcity-7.1 ×1