VSTS Nuget 发布者任务问题
VSTS Nuget Publisher Task Issues
当我将 nuget 发布者任务用作构建定义的一部分时,无论我做什么似乎都出错,错误为:
##[error]Unhandled: %s is not a solution file. Check the 'path to solution or packages.config' property of the NuGetInstaller task.
我不知道这意味着什么,我可以做些什么来解决它。任务的完整日志是:
2016-07-28T13:39:44.3146094Z Set workingFolder to default: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents.103.0\tasks\NuGetPublisher[=11=].2.0
2016-07-28T13:39:44.8813939Z ##[debug]agent.workFolder=C:\a
2016-07-28T13:39:44.8813939Z ##[debug]loading inputs and endpoints
2016-07-28T13:39:44.8823941Z ##[debug]loading ENDPOINT_AUTH_$/
2016-07-28T13:39:44.8843932Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_$/_ACCESSTOKEN
2016-07-28T13:39:44.8853942Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2016-07-28T13:39:44.8863939Z ##[debug]loading ENDPOINT_AUTH_SCHEME_$/
2016-07-28T13:39:44.8863939Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2016-07-28T13:39:44.8873940Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2016-07-28T13:39:44.8873940Z ##[debug]loading INPUT_FEEDNAME
2016-07-28T13:39:44.8883941Z ##[debug]loading INPUT_NUGETFEEDTYPE
2016-07-28T13:39:44.8883941Z ##[debug]loading INPUT_PRECREDPROVIDERNUGET
2016-07-28T13:39:44.8883941Z ##[debug]loading INPUT_SEARCHPATTERN
2016-07-28T13:39:44.8893942Z ##[debug]loading INPUT_VERBOSITY
2016-07-28T13:39:44.8903938Z ##[debug]loaded 11
2016-07-28T13:39:45.0733941Z ##[debug]check path : C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents.103.0\tasks\NuGetPublisher[=11=].2.0\task.json
2016-07-28T13:39:45.0743936Z ##[debug]set resource file to: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents.103.0\tasks\NuGetPublisher[=11=].2.0\task.json
2016-07-28T13:39:45.0753931Z ##[debug]system.culture=en-US
2016-07-28T13:39:45.0784231Z ##[debug]searchPattern=C:\a\s\**\*.nupkg;
2016-07-28T13:39:45.0784231Z ##[debug]System.DefaultWorkingDirectory=C:\a\s
2016-07-28T13:39:45.0793937Z ##[debug]Matching glob pattern: C:\a\s\**\*.nupkg
2016-07-28T13:39:45.0793937Z ##[debug]Index of first wildcard: 9
2016-07-28T13:39:45.0803939Z ##[debug]find root dir: C:\a
2016-07-28T13:39:45.3943927Z ##[debug]find C:\a
2016-07-28T13:39:45.3953940Z ##[debug]3101 matches.
2016-07-28T13:39:45.5293937Z ##[debug]check path : C:\a\s
2016-07-28T13:39:45.5353925Z ##[debug]task result: Failed
2016-07-28T13:39:45.5503936Z ##[error]Unhandled: %s is not a solution file. Check the 'path to solution or packages.config' property of the NuGetInstaller task.
我什至尝试过禁用所有其他步骤,只让发布者步骤处于活动状态,过滤器不会拾取任何文件,但它仍然在同一点失败。
如有任何帮助,我们将不胜感激。
这是一个已知问题:NuGet Publish Error on Version 0.2.0。
请尝试以下解决方法:
As a workaround, check the 'Path/Pattern to nupkg' for doubled
semicolons, or semicolons at the beginning or end of the value. We had
an internal report of that as well, and a trailing semicolon
(resulting in an "empty" pattern)is what triggered that bug for them.
当我将 nuget 发布者任务用作构建定义的一部分时,无论我做什么似乎都出错,错误为:
##[error]Unhandled: %s is not a solution file. Check the 'path to solution or packages.config' property of the NuGetInstaller task.
我不知道这意味着什么,我可以做些什么来解决它。任务的完整日志是:
2016-07-28T13:39:44.3146094Z Set workingFolder to default: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents.103.0\tasks\NuGetPublisher[=11=].2.0
2016-07-28T13:39:44.8813939Z ##[debug]agent.workFolder=C:\a
2016-07-28T13:39:44.8813939Z ##[debug]loading inputs and endpoints
2016-07-28T13:39:44.8823941Z ##[debug]loading ENDPOINT_AUTH_$/
2016-07-28T13:39:44.8843932Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_$/_ACCESSTOKEN
2016-07-28T13:39:44.8853942Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2016-07-28T13:39:44.8863939Z ##[debug]loading ENDPOINT_AUTH_SCHEME_$/
2016-07-28T13:39:44.8863939Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2016-07-28T13:39:44.8873940Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2016-07-28T13:39:44.8873940Z ##[debug]loading INPUT_FEEDNAME
2016-07-28T13:39:44.8883941Z ##[debug]loading INPUT_NUGETFEEDTYPE
2016-07-28T13:39:44.8883941Z ##[debug]loading INPUT_PRECREDPROVIDERNUGET
2016-07-28T13:39:44.8883941Z ##[debug]loading INPUT_SEARCHPATTERN
2016-07-28T13:39:44.8893942Z ##[debug]loading INPUT_VERBOSITY
2016-07-28T13:39:44.8903938Z ##[debug]loaded 11
2016-07-28T13:39:45.0733941Z ##[debug]check path : C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents.103.0\tasks\NuGetPublisher[=11=].2.0\task.json
2016-07-28T13:39:45.0743936Z ##[debug]set resource file to: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents.103.0\tasks\NuGetPublisher[=11=].2.0\task.json
2016-07-28T13:39:45.0753931Z ##[debug]system.culture=en-US
2016-07-28T13:39:45.0784231Z ##[debug]searchPattern=C:\a\s\**\*.nupkg;
2016-07-28T13:39:45.0784231Z ##[debug]System.DefaultWorkingDirectory=C:\a\s
2016-07-28T13:39:45.0793937Z ##[debug]Matching glob pattern: C:\a\s\**\*.nupkg
2016-07-28T13:39:45.0793937Z ##[debug]Index of first wildcard: 9
2016-07-28T13:39:45.0803939Z ##[debug]find root dir: C:\a
2016-07-28T13:39:45.3943927Z ##[debug]find C:\a
2016-07-28T13:39:45.3953940Z ##[debug]3101 matches.
2016-07-28T13:39:45.5293937Z ##[debug]check path : C:\a\s
2016-07-28T13:39:45.5353925Z ##[debug]task result: Failed
2016-07-28T13:39:45.5503936Z ##[error]Unhandled: %s is not a solution file. Check the 'path to solution or packages.config' property of the NuGetInstaller task.
我什至尝试过禁用所有其他步骤,只让发布者步骤处于活动状态,过滤器不会拾取任何文件,但它仍然在同一点失败。
如有任何帮助,我们将不胜感激。
这是一个已知问题:NuGet Publish Error on Version 0.2.0。
请尝试以下解决方法:
As a workaround, check the 'Path/Pattern to nupkg' for doubled semicolons, or semicolons at the beginning or end of the value. We had an internal report of that as well, and a trailing semicolon (resulting in an "empty" pattern)is what triggered that bug for them.