开发者

How to create build file for Nant of .Net project

开发者 https://www.devze.com 2023-04-10 17:10 出处:网络
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

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

精彩评论

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

关注公众号