无法使用 Mono 在 CentOS 7 上构建 Calamari
Unable to build Calamari on CentOS 7 with Mono
我正在尝试将 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 环境中似乎有很多人遇到过这个问题。我尝试了那些论坛中提供的建议,但没有任何效果。
如果有人能阐明这个问题,那将非常有帮助。
Configuration which I am using:
Linux distribution: CentOS 7.3
dotnet SDK: 2.2.300
mono-complete: 5.14.0.177
python: 3.6.3
Link 至鱿鱼来源:https://github.com/OctopusDeploy/Calamari
Link八达通指南:https://octopus.com/docs/infrastructure/deployment-targets/linux/requirements#mono-calamari
我向 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) 单声道
我正在尝试将 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 环境中似乎有很多人遇到过这个问题。我尝试了那些论坛中提供的建议,但没有任何效果。
如果有人能阐明这个问题,那将非常有帮助。
Configuration which I am using:
Linux distribution: CentOS 7.3
dotnet SDK: 2.2.300
mono-complete: 5.14.0.177
python: 3.6.3
Link 至鱿鱼来源:https://github.com/OctopusDeploy/Calamari
Link八达通指南:https://octopus.com/docs/infrastructure/deployment-targets/linux/requirements#mono-calamari
我向 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) 单声道