Advantages of using MSBuild or NAnt versus running DevEnv.exe from command-line

前端 未结 6 969
执笔经年
执笔经年 2020-12-25 13:36

Can anyone explain what advantages there are to using a tool like MSBuild (or NAnt) to build a collection of projects versus running DevEnv.exe from the command-line?

<
6条回答
  •  礼貌的吻别
    2020-12-25 14:34

    As far as C# goes, devenv.exe 2005 runs the compiler in-proc, which may cause out of memory exceptions for sizable solutions. Msbuild resorts to launching csc.exe process for each project. Projects that don't compile with devenv /build work fine with msbuild. Hope you like this reason.

提交回复
热议问题