コード例 #1
0
ファイル: Program.cs プロジェクト: JKeetman/MSBuild-for-DNN
 private static void Main(string[] args)
 {
     var sourceFiles = new FileTaskItem[]
                           {
                               new FileTaskItem(@"D:\Projects\XCESS.MsBuild\Website\DesktopModules\XCESS.DNN.TestModule\view.ascx"),
                               new FileTaskItem(@"D:\Projects\XCESS.MsBuild\Website\DesktopModules\XCESS.DNN.TestModule\settings.ascx")
                           };
     var fileBuilder = new ManifestFileBuilder<DnnManifest>();
     var entityBuilder = new ManifestEntityBuilder<DnnManifest>(@"D:\Projects\XCESS.MsBuild\Website\DesktopModules\XCESS.DNN.TestModule\bin\XCESS.DNN.TestModule.dll", sourceFiles);
     fileBuilder.Build(entityBuilder.Manifest);
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: EPTamminga/MSBuild-for-DNN
        private static void Main(string[] args)
        {
            var sourceFiles = new FileTaskItem[]
            {
                new FileTaskItem(@"D:\Projects\XCESS.MsBuild\Website\DesktopModules\XCESS.DNN.TestModule\view.ascx"),
                new FileTaskItem(@"D:\Projects\XCESS.MsBuild\Website\DesktopModules\XCESS.DNN.TestModule\settings.ascx")
            };
            var fileBuilder   = new ManifestFileBuilder <DnnManifest>();
            var entityBuilder = new ManifestEntityBuilder <DnnManifest>(@"D:\Projects\XCESS.MsBuild\Website\DesktopModules\XCESS.DNN.TestModule\bin\XCESS.DNN.TestModule.dll", sourceFiles);

            fileBuilder.Build(entityBuilder.Manifest);
        }