build .net application in Jenkins using MSBuild

前端 未结 5 1165
既然无缘
既然无缘 2020-12-13 04:29

I have a .net application built on .net framework 3.5, I am trying to build this application on Jenkins CI server. I\'ve added MSBuild plugin and and have added path to the

5条回答
  •  执笔经年
    2020-12-13 04:48

    Jenkins | Manage Jenkins | Configure System
    

    scroll down to the MSBuild section and click MSBuild installations

    define the full path to msbuild.exe, on my system I have 3.5 and v4.0.30319

    Note - specify the path to 32-bit tools even on a 64-bit system, otherwise you might get an error message:

    Building Windows Phone application using MSBuild 64 bit is not supported.

    So in Jenkins - it could be for example:

    Name: Version 3.5

    Path: C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe

    Name: Version 4.0

    Path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSbuild.exe

提交回复
热议问题