Closed Roald87 closed 4 years ago
Or can be done with start /wait "" "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" "TwinCAT Project1.sln" /Build "Debug|TwinCAT RT (x64)" /Out build.log
Or just a single project with start /wait "" "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" "C:\Users\roald\Source\Repos\TcBlack\src\TcBlack.sln" /Project "TwinCATBlack\PLC\PLC.plcproj" /Build "Debug|TwinCAT RT (x64)" /Out build.log
.
See TcUnit project here and here. Or Beckhoff documentation API and an example.