2017-12-10 25 views
0

빌드 머신에 AppVeyor의 코드를 배포 하려는데 빌드 할 라이센스 세부 정보가 포함 된 postsharp.config 파일을 생성해야하지만 다음과 같은 오류 : 나는 postsharp.config 파일을 만든어 브러시로 PostSharp 빌드 오류가 발생했습니다.

C:\projects\webapibase\packages\PostSharp.5.0.41\build\PostSharp.targets(314,5): error PS0260: License error. The license xxx is not allowed to be loaded from C:\projects\webapibase\Service\postsharp.config. [C:\projects\webapibase\Service\Service.csproj] C:\projects\webapibase\packages\PostSharp.5.0.41\build\PostSharp.targets(314,5): error PS0242: License error. No valid license key has been installed. Please visit https://www.postsharp.net/purchase to acquire a license of PostSharp. To register a license key, use PostSharp Essentials or start the evaluation period, execute the program

:

<?xml version="1.0" encoding="utf-8"?> 
<Project xmlns="http://schemas.postsharp.org/1.0/configuration"> 
    <License Value="xxxx" /> 
</Project> 

시. VSTS의 동일한 프로젝트가 파일없이 정상적으로 빌드됩니다. 아마도 PostSharp가 빌드 시스템을 감지하고 라이센스 검사를 무시합니다.

답변