TwinCAT3在Jenkins上构建 [英] TwinCAT3 build on Jenkins

查看:65
本文介绍了TwinCAT3在Jenkins上构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Jenkins上构建TwinCAT3解决方案?我已经在msbuild和devenv.com上尝试过.

Is it possible to build TwinCAT3 solution on Jenkins? I have tried it with msbuild and devenv.com.

msbuild:MSBuild不支持* .tspprojdevenv.com .tspproj:找不到该项目类型所基于的应用程序

msbuild: MSBuild does not support *.tspproj devenv.com .tspproj: The application which this project type is based on was not found

推荐答案

您不能使用MSBuild来构建PLC项目,因为它不是通过MSBuild而是通过CodeSYS编译器来构建的.

You can't build the a PLC project using MSBuild, because it is not build with MSBuild but through the CodeSYS compiler.

不过,您可以使用以下方法构建整个解决方案.

You can however build the whole solution using:

开始/wait"%ProgramFiles(x86)%/Microsoft Visual Studio 12.0/Common7/IDE/devenv.exe" project.sln/Rebuild"Debug | TwinCAT RT(x86)"/Out日志文件.日志.

编辑2020年5月23日

或者您可以使用( 开始/等待"%ProgramFiles(x86)%\ Microsoft Visual Studio 12.0 \ Common7 \ IDE \ devenv.exe""C:\ path \ to \ solution.sln"/Project"relative \ path"\ to \ PLC.plcproj"/重建" Debug | TwinCAT RT(x86)"/Out logfile.log

这篇关于TwinCAT3在Jenkins上构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆