Erstellen Sie eine .NET-Anwendung in Jenkins mit MSBuild

Ich habe eine .NET-Anwendung, die auf .NET Framework 3.5 basiert. Ich versuche, diese Anwendung auf dem Jenkins CI-Server zu erstellen. Ich habe das MSBuild-Plugin und den Pfad zur EXE-Datei der Versionen 2.0, 3.5 und 4.0 von MSBuild hinzugefügt. Meine Erstellungsprozesse schlagen jedoch fehl, da die folgende Fehlermeldung angezeigt wird.

<code>Path To MSBuild.exe: msbuild.exe  
Executing command: cmd.exe /C msbuild.exe Neo.sln && exit %%ERRORLEVEL%%  
[Test project] $ cmd.exe /C msbuild.exe Neo.sln && exit %%ERRORLEVEL%%  
'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 uild as failure  
Finished: FAILURE  
</code>

Könnte mir jemand helfen, bitte?

Antworten auf die Frage(5)

Ihre Antwort auf die Frage