linux - 如何在服务器 Linux 上的 Jenkins 中使用 MSBuild 创建构建 .net

标签 linux jenkins

我尝试配置安装在带有 linux 的服务器上的 jenkins,是否可以安装 msbuild.exe 来编译 .NET 应用程序?还是 Jenkins 必须在 Windows 服务器上?

最佳答案

.NET Core SDK 可以安装在 Linux 上,并附带一个名为 dotnet 的工具,当您以 dotnet build 运行它时,它的工作方式与 MSBuild 非常相似。

关于linux - 如何在服务器 Linux 上的 Jenkins 中使用 MSBuild 创建构建 .net,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54028758/

相关文章:

linux - 如何让 2 个变量具有 2 个不同的序列 - Bash Linux

linux 不检测死的 tcp 连接

linux - 用于更新 'staging' 版本的 Subversion 提交后 Hook 不起作用

linux - 你能推荐一个适用于 Linux 的 PostgreSQL Visual Database Designer 吗?

node.js - Jenkins - docker : not found

git - Jenkins 抛出错误 "Library expected to contain at least one of src or vars directories"

c++ - 如何编译静态链接除一个库之外的所有库 (G++)

powershell - 从 jenkins 管道中的 powershell 脚本获取输出值

android - Jenkins mergeDebugResources 失败 - 无法访问文件

Jenkins 和 DisplayURLProvider