0

I'm automating the build of a Delphi 10.2 project I'm using msbuild with .net 4.0.30319

I'm running rsvars.bat to set the environment variables and then call MSBuild

start-process "C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\rsvars.bat"

MSBuild Modulos/COM/PCOM.dproj

Probably the solution will be something simple and basic that I didn't pay attention to and I'll be mulling over it for days after it's solved

I found some articles related to the topic, but none were able to solve my problem. https://stackoverflow.com/questions/1342859/error-msb4040-there-is-no-target-in-the-project-when-using-msbuilddelphi2009 https://stackoverflow.com/questions/33564315/how-to-build-a-delphi-project-in-teamcity

I manage to simulate the error through the windows powershell error in the windows powershell

If i run it through the command prompt I get success, but running through Jenkins does not object success.

0 Answers0