问题描述
我在TortoiseSVN信息库中有一个asp.net解决方案.现在我已经创建了一个Test.proj文件,如下所示
Hi,
I had a one asp.net solution in TortoiseSVN repository. Now i had created one Test.proj file as given below
<project defaulttargets="Build">
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<import project="<br" mode="hold" /> "C:\Program Files\MSBuild\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>
<target name="GetSource">
<message text="Checking out trunk into $(SourceDirectory)" />
<svncheckout repositorypath="PATH TO SVN">
LocalPath="LOCAL PATH TO FOLDER"
UserName="USERNAME OF SVN"
Password="PASSWORD OF SVN">
<output taskparameter="Revision" propertyname="Revision" />
</svncheckout>
<message text="Have got revision: $(Revision)" />
</target>
<target name="Build" dependsontargets="GetSource;Clean;" />
<target name="Clean">
<!-- Clean, then rebuild entire solution -->
<msbuild projects="D:\Projects\SOLUTIONFILENAME.sln" targets="Clean;Rebuild" />
</target>
</project>
我使用了
I used
<buildargs>Test.proj /p:Configuration=Debug /p:Platform="x86"</buildargs>
ccnet.config
中的此标签我不愿使用上述代码来获取tortoiseSVN的最新信息,但构建失败.
请告诉我这是正确的方法.如果没有告诉我正确的方法
this tag in ccnet.config
I had fallowed the above code for getting latest from tortoiseSVN but build failed.
Please tell me is this correct way. If not tell me the correct way
推荐答案
我使用了
I used
<buildargs>Test.proj /p:Configuration=Debug /p:Platform="x86"</buildargs>
ccnet.config
中的此标签我不愿使用上述代码来获取tortoiseSVN的最新信息,但构建失败.
请告诉我这是正确的方法.如果没有告诉我正确的方法
this tag in ccnet.config
I had fallowed the above code for getting latest from tortoiseSVN but build failed.
Please tell me is this correct way. If not tell me the correct way
这篇关于如何从tortoiseSVN获取最新版本,然后使用CruiseControl.NET在msbuild中进行构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!