Visual Studio Online Hosted Build에서 OpenCover를 사용하려고하는데 다음 오류가 발생합니다.
No results, this could be for a number of reasons. The most common reasons are:
1) missing PDBs for the assemblies that match the filter please review the
output file and refer to the Usage guide (Usage.rtf) about filters.
2) the profiler may not be registered correctly, please refer to the Usage
guide and the -register switch.
-register 옵션을 사용할 때 다음 오류가 발생합니다.
An exception occured: Failed to register(user:False,register:True,is64:False):5 the profiler assembly;
you may want to look into permissions or using the -register:user option instead.
C:\Windows\system32\regsvr32.exe /s "d:\a\src\packages\OpenCover.4.5.3723\x86\OpenCover.Profiler.dll"
stack: at OpenCover.Framework.ProfilerRegistration.ExecuteRegsvr32(Boolean userRegistration, Boolean register, Boolean is64)
at OpenCover.Console.Program.Main(String[] args)
권한이 충분하지 않아 VSO에서 regsvr32를 사용할 수 없다고 거의 확신합니다. 그래서 내 질문은 : 다른 방법이 있습니까?
감사합니다
설치를 위해 컴퓨터에 관리자 권한이 필요한 경우 호스팅 된 빌드에서 수행 할 수있는 방법이 없습니다. 이 경우 자체 빌드 머신을 만들어야합니다. 그것은 우리가 미래에 해결하고자하는 것입니다.
오랫동안 regsrv32를 살펴 보지 않았지만 메시지에서 제안 된 -register : user 옵션을 시도해 볼 수 있습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다