2016-07-28 2 views
2

내가 오류와 내가 할 상관없이 에러 것 같다 빌드 정의의 일부로서 nuget 게시자 작업, 사용하는 경우 :VSTS 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\1.103.0\tasks\NuGetPublisher\0.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\1.103.0\tasks\NuGetPublisher\0.2.0\task.json 
2016-07-28T13:39:45.0743936Z ##[debug]set resource file to: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.0\tasks\NuGetPublisher\0.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\1\s\**\*.nupkg; 
2016-07-28T13:39:45.0784231Z ##[debug]System.DefaultWorkingDirectory=C:\a\1\s 
2016-07-28T13:39:45.0793937Z ##[debug]Matching glob pattern: C:\a\1\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\1 
2016-07-28T13:39:45.3943927Z ##[debug]find C:\a\1 
2016-07-28T13:39:45.3953940Z ##[debug]3101 matches. 
2016-07-28T13:39:45.5293937Z ##[debug]check path : C:\a\1\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. 

는 심지어 다른 모든 단계를 해제 만 모든 파일을 선택하지 않습니다 필터로, 게시자 단계는 활성을 갖는하고 아직 여전히에서 실패 시도 같은 지점.

도움을 주시면 감사하겠습니다.

+0

당신이 NuGet 게시자 작업 구성에서 개별 항목 "솔루션 또는 packages.config에 경로"의 내용을 게시 할 수 :

아래의 해결 방법을 시도해보세요? –

+0

참고로 이것을 얻었습니다. 내 마지막에는 아무것도 변경되지 않았으며 빌드가 실패하기 시작했습니다. 이것은 MS가 "문제를 고쳤다"라고 말한 후에 발생합니다 .... 실수가있을 경우를 대비하여 – GrahamB

답변

3

이것은 알려진 문제 : 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.

+0

이것이 내 문제였습니다. 업데이트를하기 전에 내 경로 끝에 세미 콜론이있어서 잘 작동했습니다. 업데이트 후 오류가 발생했지만 세미 콜론을 제거하면 작업이 다시 시작되었습니다. 아아, 그런 간단한 일! 도움을 주셔서 감사합니다 – doodlleus

+0

이 문제를 해결할 수도 있습니다. 게시 해 주셔서 감사합니다. 대규모 마이크로 서비스 제품군의 모든 빌드 스크립트를 변경해야하기 전에 수정 사항이 있습니까? – GrahamB

관련 문제