我希望使用MSBuild命令行来发布我的网站。我的需求如下所示:
get the latest code from sever and stored in specified folder.this is done by folloing code
<Target Name="GetSource"> <Message Text="Checking out trunk into $(SourceDirectory)" /> <SvnCheckout RepositoryPath="$(SvnCheckoutPath)" LocalPath="$(CheckOutPath)" UserName="aaa" Password="aa"> <Output TaskParameter="Revision" PropertyName="Revision" /> </SvnCheckout> <Message Text="Have got revision: $(Revision)"/> </Target>
i have achived to get update code in specified folder.(1st reqirement is done)
2.构建 3.发布到指定路径
那么你能告诉我如何实现第2和第3个要求吗?