PostSharp 5.1.9 - 在 linux 托管构建服务器 .net core 2 pos 上构建失败

PostSharp 5.1.9 - Build fail on linux hosted build server .net core 2 pos

我正在尝试使用 Linux 托管构建服务器进行构建,但出现错误。

查看日志:

/root/.nuget/packages/postsharp/5.1.9-preview/build/PostSharp.targets(154,5): error MSB4062: The "PostSharp.MSBuild.PostSharp30ValidateLanguageVersion" task could not be loaded from the assembly /root/.nuget/packages/postsharp/5.1.9-preview/build/PostSharp.MSBuild.v5.1.9.Release.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

基于Requirements on development workstations and build servers,不支持linux。

Windows 7 SP1, Windows 8.1, Windows 10, Windows Server 2008 SP2, Windows Server 2008 R2 SP1, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016