TCCompileFileList error when using MSBuild command line

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

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: 1969
Joined: Wed Oct 08, 2008 12:23 am

Re: TCCompileFileList error when using MSBuild command line

Post by jomitech » Mon Sep 16, 2019 5:05 pm

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