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.