【问题标题】:PostSharp 5.1.9 - Build fail on linux hosted build server .net core 2 posPostSharp 5.1.9 - 在 linux 托管构建服务器 .net core 2 pos 上构建失败
【发布时间】:2018-04-27 18:18:30
【问题描述】:

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

查看日志:

/root/.nuget/packages/postsharp/5.1.9-preview/build/PostSharp.targets(154,5):错误 MSB4062:无法从程序集中加载“PostSharp.MSBuild.PostSharp30ValidateLanguageVersion”任务/根/.nuget/packages/postsharp/5.1.9-preview/build/PostSharp.MSBuild.v5.1.9.Release.dll。无法加载文件或程序集“Microsoft.Build.Utilities.v4.0,版本=4.0.0.0,文化=中性,PublicKeyToken=b03f5f7f11d50a3a”。系统找不到指定的文件。

【问题讨论】:

  • PostSharp 还不支持在 Linux 上构建。
  • 你清除了吗?

标签: azure-pipelines postsharp .net-core-2.0


【解决方案1】:

基于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

【讨论】:

    猜你喜欢
    • 2018-06-24
    • 2016-09-16
    • 1970-01-01
    • 1970-01-01
    • 2016-04-07
    • 1970-01-01
    • 1970-01-01
    • 2023-04-01
    • 1970-01-01
    相关资源
    最近更新 更多