xcopy ASP.NET deployment of a Subversion-managed project

前端 未结 4 1920
予麋鹿
予麋鹿 2021-01-13 14:39

I\'m currently using Subversion to manage my ASP.NET website. I\'m finding that whenever I go to upload my website to my server, I\'m copying a large number of hidden .svn f

4条回答
  •  隐瞒了意图╮
    2021-01-13 15:03

    I have a postbuild step, which prepares a clean drop folder as part of the project build. Here's how I do it:

      
        ..\..\drop\
        ..\..\test\
      
      
        
          
        
        
          
        
        
        
        
        
        
      
    

    Of course, svn export works as well. :-) However, with that approach you can't modify and commit back to the repository any source file modified during the build.

提交回复
热议问题