.net - 无法使用 Mono 在 CentOS 7 上构建 Calamari
问题描述
我正在尝试将 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
解决方案
我向 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) 单声道
推荐阅读
- python - 如何从不同文件夹加载图像和文本标签以进行 CNN 回归
- lua - 可以通过字符串名称调用函数
- java - 无法使用 Firestore 回收器适配器从 Firestore 获取数据,得到空的回收器视图
- java - org.springframework.beans.NotWritablePropertyException。无效属性
不可写或具有无效的 setter 方法 - postgresql - Postgres 函数返回多次使用的表参数名称 - 轻微扭曲
- python - Tkinter 在逻辑循环中的“干预”
- mysql - 我无法使用 springboot 连接到我的 mysql 数据库我使用相同的密码和名称与 phpmyadmin 连接得很好
- python - 如何在 Python 中识别字符串中的增量模式
- python - 无法获取响应 - 请求库 Python
- python - Discord 机器人不会让所有人静音