Double-Loop in msbuild?

前端 未结 4 746
暗喜
暗喜 2021-02-07 18:04

I\'m writing a script for msbuild which should make two batches in one step.
Example: 2 ItemGroups


 
 

        
4条回答
  •  忘了有多久
    2021-02-07 18:53

    For two nested loops this works:

    
    
        
            
            
        
    
        
            
            
        
    
        
            
          
    
    
    

    Results in:

    Project "D:\tmp\msbuildtest\test.xml" on node 0 (default targets).
      Building 1 A
      Building 1 B
    Exec:
      Building 2 A
      Building 2 B
    Done Building Project "D:\tmp\msbuildtest\test.xml" (default targets).
    

提交回复
热议问题