Hi You need to specify the path to msbuild. The plugin does not do that for you AFAIK.
We just use a Windows batch command build step and do: %MSBUILD% MSVC\mysln.sln /p:Configuration="Release" /p:useenv=true /flp:logfile=MyOutput.log;verbosity=diagnostic where: MSBUILD="C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe" (set in the Jenkins project config page) David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jmata Sent: 19 February 2014 16:01 To: jenkinsci-users@googlegroups.com Subject: MSBuild Visual Studio Hello Guys, Im running into a small issue in regards to the MSBuild Plugin . All setting seem to be correct in our configuration path, (pointing to the correct path C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe As soon as we run a build job we get the following error. msbuild.exe' is not recognized as an internal or external command, operable program or batch file. Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure If we run this through command line everything works perfect. No issues Please help. Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. Click here<https://www.mailcontrol.com/sr/fDVTbEs3tjfGX2PQPOmvUpFBc4ZD8M8U!!Cxv+7V9qTQM9wZBiiSC8O9I1!sc2DYDsVvQKdvCPTVvyfHqPLkZg==> to report this email as spam. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.