How can I get MSBuild to increment the ClickOnce publish revision version number on a build server?

后端 未结 3 573
广开言路
广开言路 2020-12-31 17:34

We have an NAnt script that checks out from CVS and then runs MSBuild to publish the application. The problem is we have to remember to always increment the version in Visua

3条回答
  •  情话喂你
    2020-12-31 18:30

    In the end I did this using NAnt xmlpoke, so for the version we end up with 20.0.dayofyear.hourminute - it is mostly unique across builds.

    There is no need for custom tasks - and the newer version of MSBuild has a pokexml too, so it might work with that.

    
        
    
        
        
    
        
    
        
            
                
            
        
    
        
    
        
    
        
            
                
            
        
    
    

提交回复
热议问题