Chinaunix首页 | 论坛 | 博客
  • 博客访问: 295739
  • 博文数量: 45
  • 博客积分: 1596
  • 博客等级: 上尉
  • 技术积分: 546
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-19 20:28
文章分类

全部博文(45)

文章存档

2011年(7)

2010年(10)

2009年(10)

2008年(18)

我的朋友

分类: 项目管理

2008-05-23 22:24:03


 MSBuild学习笔记

在MSBuild不断的学习过程中,根据现实情况完成的一个实例,记录于下:


 


 
  ProjectXXX
  1
  0
  0
  feng.lei
  13
  anonymous
  anonymous
  mail.xxx.com
  feng.lei@mail.xxx.com
  feng.lei@mail.xxx.com
  test
  D:\Stores\srcsafe.ini
  D:\Test\DotNet
  \\192.168.1.2\d$\DeployDir
    


 
 
 


 

 
 
 
 
 
 
 


 
 
     Regex="(\s*)(Debug\.AspNetCompiler\.PhysicalPath)(.*)"
   ReplacementText="$1$2= "asdfasdf" "/>
 


 
 
 
 
 
 


 
 
     Password="$(VSSPassword)"
   LocalPath="$(LocalPath)/TestProject"
   Recursive="True"
   DatabasePath="$(DatabasePath)"
   Path="$/Source/TestProject"/>
 
 


 
 
 
      Targets="Clean;Build" />
 
 


 
 
 
 
 


 
 
     Subject="Test"
   Password="$(MailPassword)"
   From ="$(FromAddress)"
   To ="$(ToAddress)"
   Body="This is a test of the mail task." />
 


 
     Password="$(FtpPassword)"
   LocalFile="$(ZipFileName)"
   RemoteUri="ftp://192.168.1.2/SourceBackup/$(ZipFileName)" />
 
 


 
 
 
       PropertyName = "ZipFileName" />
 

    ZipFileName= "$(ZipFileName)"/>
 


 
 
     To="$(ToAddress)"
   From="$(FromAddress)"
   Subject="$(ProjectName) was successfully deploy"
   Body="$(ProjectName) was successfully deploy" />
 

 
 
     To="$(ToAddress)"
   From="$(FromAddress)"
   Subject="$(ProjectName) Checkout failed "
   Body="FAILURE: Could not be checked out" />
 

 
 
     To="$(ToAddress)"
   From="$(FromAddress)"
   Subject="$(ProjectName) Build failed"
   Body="FAILURE: Could not be finish building. See attached file for build log."
  Attachments="$(LogFilename)" />
 

 
 
     To="$(ToAddress)"
   From="$(FromAddress)"
   Subject="$(ProjectName) Build failed"
   Body="FAILURE: Could not be finish Backup ." />
 



阅读(2756) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~