码迷,mamicode.com
首页 > 其他好文 > 详细

DevExpress.Build.v14.2

时间:2015-06-12 19:05:39      阅读:79      评论:0      收藏:0      [点我收藏+]

标签:

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 }

 

DevExpress.Build.v14.2

标签:

原文地址:http://www.cnblogs.com/endv/p/4572244.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!