Double-Loop in msbuild?

前端 未结 4 972
闹比i
闹比i 2021-02-07 18:06

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


 
 

        
4条回答
  •  梦如初夏
    2021-02-07 18:58

    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).
    

提交回复
热议问题