Roald87 / TcBlack

Opnionated code formatter for TwinCAT.
MIT License
103 stars 11 forks source link

Build TwinCAT project using DevEnv #1

Closed Roald87 closed 4 years ago

Roald87 commented 4 years ago

See TcUnit project here and here. Or Beckhoff documentation API and an example.

Roald87 commented 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

Roald87 commented 4 years ago

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.