TCCompileFileList error when using MSBuild command line

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
andy.mcadam
Posts: 1
Joined: Fri Sep 06, 2019 3:39 am

TCCompileFileList error when using MSBuild command line

Post by andy.mcadam »

I'm getting the following when trying to compile a simple test project from a VS command line:

"C:\Users\andy.mcadam\Downloads\TestProject\MainProject.cbproj" (make target) (1) ->
(TCCompile target) ->
C:\Program Files (x86)\JomiTech\TwineCompile\TCTargetsXE.targets(424,5): error MSB4018: The "TCCompileFileList" task failed une
xpectedly.\r [C:\Users\andy.mcadam\Downloads\TestProject\MainProject.cbproj]
C:\Program Files (x86)\JomiTech\TwineCompile\TCTargetsXE.targets(424,5): error MSB4018: System.InvalidOperationException: Cannot
start process because a file name has not been provided.\r [C:\Users\andy.mcadam\Downloads\TestProject\MainProject.cbproj]
C:\Program Files (x86)\JomiTech\TwineCompile\TCTargetsXE.targets(424,5): error MSB4018: at System.Diagnostics.Process.Start()\
r [C:\Users\andy.mcadam\Downloads\TestProject\MainProject.cbproj]

I've set the BDS, frameowkrversion and frameworkdir variables.

The project compiles fine if I build it directly in the RAD studio XE IDE.
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: TCCompileFileList error when using MSBuild command line

Post by jomitech »

I would suggest using the jtmake tool in the TwineCompile Program Files directory to run the command-line builds. It takes care of properly configuring the MSBuild environment to compile C++Builder projects.
Jon
Post Reply