Modify MSBuild ItemGroup Metadata

前端 未结 6 480
渐次进展
渐次进展 2020-12-09 08:46

Is it possible to modify a ItemGroup\'s metadata after it is declared.

For Example:

  
    

        
6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-09 09:23

    Yes you can modify or add to an 's meta data after it is defined (MSBuild 3.5)

    
    
      
      
        
          Test meta data
        
        
          Untouched
        
      
    
      
        
        
    
        
        
          
            Well adjusted
            New meta data
          
        
    
        
        
      
    
      
    
    

    Reference: MSDN Library: New Methods for Manipulating Items and Properties (MSBuild)

提交回复
热议问题