标签:
DevExpress.Build.v14.2
1 using Microsoft.Build.AppxPackage; 2 using Microsoft.Build.Framework; 3 using System; 4 using System.Collections.Generic; 5 namespace DevExpress.Build 6 { 7 public class DXGeneratePriConfigurationFiles : GeneratePriConfigurationFiles 8 { 9 public override bool Execute() 10 { 11 List<ITaskItem> list = new List<ITaskItem>(); 12 ITaskItem[] layoutFiles = base.get_LayoutFiles(); 13 for (int i = 0; i < layoutFiles.Length; i++) 14 { 15 ITaskItem taskItem = layoutFiles[i]; 16 if (!taskItem.ItemSpec.EndsWith("xaml")) 17 { 18 list.Add(taskItem); 19 } 20 } 21 base.set_LayoutFiles(list.ToArray()); 22 return base.Execute(); 23 } 24 } 25 }
标签:
原文地址:http://www.cnblogs.com/endv/p/4572244.html