vsdevcmd.bat is not running in jenkins for MSbuild

303 views
Skip to first unread message

sivu...@gmail.com

unread,
Jul 18, 2018, 1:52:29 AM7/18/18
to Jenkins Users
Hi,


i am trying to build vsual studio project therouh msbuild in jenkins.

if i select build step : "Build a Visual Studio project or Solution using MSBuild"  it is failing with below error message.

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(5088,5): 
error MSB3073: The command "CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE..\Tools\vsdevcmd.bat"

error MSB3073:     editbin.exe 


since vsdevcmd.bat file is not executed.


if i select windows batch command and given the vsdevcmd.bat it was running fine like below.

CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat"

msbuild Sample.proj /t:build /p:configuration=Release


i dont want run the build through windows batch command prompt . 


could you please help me out.

Thanks in advance.


Thanks,
Masthan.
Reply all
Reply to author
Forward
0 new messages