【问题标题】:Unable to build Calamari on CentOS 7 with Mono无法使用 Mono 在 CentOS 7 上构建 Calamari
【发布时间】:2019-07-15 13:38:04
【问题描述】:

我正在尝试将 Linux 机器设置为 Octopus SSH 部署目标。如八达通指南中所述,我安装了所需的软件。在构建 Calamari 包时,我收到以下错误。

(2459,59): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

过去似乎有很多人在 windows/linux 环境中遇到过这个问题。我尝试了这些论坛中提供的建议,但没有任何效果。

如果有人能对这个问题有所了解,那将非常有帮助。

我正在使用的配置:

Linux 发行版:CentOS 7.3

dotnet SDK:2.2.300

单完整:5.14.0.177

蟒蛇:3.6.3

Calamari 来源链接:https://github.com/OctopusDeploy/Calamari

八达通指南链接:https://octopus.com/docs/infrastructure/deployment-targets/linux/requirements#mono-calamari

【问题讨论】:

    标签: .net mono octopus-deploy


    【解决方案1】:

    我向 Octopus 开发团队提出了同样的问题,我得到了答复。

    From: Michael_Richardson
    
    Hi,
    
    You shouldn’t need to compile Calamari yourself. Calamari is bundled with the Octopus server and is automatically pushed to the deployment targets.
    
    When configuring the SSH target in Octopus, you are provided with the choice of two flavours of Calamari, self-contained or Mono. In general, we recommend using the self-contained option as it means Mono does not need to be installed.
    
    I hope that helps. Please follow up if I’ve misunderstood :slight_smile:
    

    Linux 代理的唯一要求如下。

    1) Python 3

    2) 点

    3) 单声道

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-07-28
      • 1970-01-01
      • 1970-01-01
      • 2021-10-12
      • 2012-10-22
      • 1970-01-01
      • 1970-01-01
      • 2015-06-06
      相关资源
      最近更新 更多