Page 1 of 1

TCCompileFileList error when using MSBuild command line

Posted: Fri Sep 06, 2019 3:50 am
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.

Re: TCCompileFileList error when using MSBuild command line

Posted: Mon Sep 16, 2019 5:05 pm
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.