MSBUild: Copy files with a name based on the original (following a pattern)

前端 未结 4 1970
温柔的废话
温柔的废话 2021-02-12 23:39

I have a set of files inside a folder. They all have a name which matches the pattern DR__.*. I want to copy them to another folder, but removing the DR__ prefix. How can I do t

4条回答
  •  走了就别回头了
    2021-02-13 00:17

    I recently had to do something similar to this as well, and ended up with a hacky, but workable solution based on in-line custom tasks.

        
        
          
          
          
        
        
          
            
          
        
      
    
      
        
          
          
          
        
        
          
            
          
        
      
    
    
    
        
          
        
    
        
        
        
    
        
          
        
    
        
          
        
    
        
          
        
    
        
        
    
        
    

提交回复
热议问题