开发者

How to create build file for Nant of .Net project

I have created build files of c# solution(.sln) files as well as the .cs file, but if i want to create a build file of only one project out of more than one project in a solution, i gets error some of those are like escape sequence charact开发者_运维问答er "\" etc.

I am including the project file as <include name="projectname.csproj" />


NAnt does not use the project files directly. Either use the csc task or the msbuild to build a solution. You can read more in the documentation abou these tasks.

UPDATE: You can read the latest documentation at http://nant.sourceforge.net/release/latest/help/

UPDATE 2: Here's a link to an answer ashowing how you can achieve this by calling msbuild: <msbuild> task or msbuild.exe with NAnt?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜