Msbuild and SVN update

前端 未结 2 659
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 17:22

I want to write a simple task which will update and commit source code that was Nightly build to SVN. I was on the msbuildtasks.tigris.org page, and downloaded the dll\'s bu

2条回答
  •  耶瑟儿~
    2021-01-13 18:08

    Here is an example (taken from the MSBuild Community Tasks Build) that does exactly that:

    
        
        
        
         
    
    
        
    
    

    Of course you need to import the MSBUild Community tasks for this to work:

    
    

    This example is only committing a couple of files, but by setting the Targets property on the task it could easily be more.

提交回复
热议问题