Merge pull request #1896 from meum/patch-1
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / GenerateApplicationManifest.cs
1 //
2 // GenerateApplicationManifest.cs
3 //
4 // Author:
5 //   Marek Sieradzki (marek.sieradzki@gmail.com)
6 //
7 // (C) 2006 Marek Sieradzki
8 //
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
16 //
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
19 //
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
28
29 using System;
30 using Microsoft.Build.Framework;
31 using Microsoft.Build.Tasks.Deployment.ManifestUtilities;
32
33 namespace Microsoft.Build.Tasks {
34         public sealed class GenerateApplicationManifest : GenerateManifestBase {
35         
36                 string          clrVersion;
37                 ITaskItem       configFile;
38                 ITaskItem[]     dependencies;
39                 ITaskItem[]     files;
40                 ITaskItem       iconFile;
41                 ITaskItem[]     isolatedComReferences;
42                 string          manifestType;
43                 string          osVersion;
44                 ITaskItem       trustInfoFile;
45         
46                 public GenerateApplicationManifest ()
47                 {
48                 }
49
50                 [MonoTODO]
51                 protected override Type GetObjectType ()
52                 {
53                         throw new NotImplementedException ();
54                 }
55                 
56                 [MonoTODO]
57                 protected override bool OnManifestLoaded (Manifest manifest)
58                 {
59                         throw new NotImplementedException ();
60                 }
61                 
62                 [MonoTODO]
63                 protected override bool OnManifestResolved (Manifest manifest)
64                 {
65                         throw new NotImplementedException ();
66                 }
67                 
68                 [MonoTODO]
69                 protected internal override bool ValidateInputs ()
70                 {
71                         throw new NotImplementedException ();
72                 }
73                 
74                 public string ClrVersion {
75                         get { return clrVersion; }
76                         set { clrVersion = value; }
77                 }
78                 
79                 public ITaskItem ConfigFile {
80                         get { return configFile; }
81                         set { configFile = value; }
82                 }
83                 
84                 public ITaskItem[] Dependencies {
85                         get { return dependencies; }
86                         set { dependencies = value; }
87                 }
88                 
89                 public ITaskItem[] Files {
90                         get { return files; }
91                         set { files = value; }
92                 }
93                 
94                 public ITaskItem IconFile {
95                         get { return iconFile; }
96                         set { iconFile = value; }
97                 }
98                 
99                 public ITaskItem[] IsolatedComReferences {
100                         get { return isolatedComReferences; }
101                         set { isolatedComReferences = value; }
102                 }
103                 
104                 public string ManifestType {
105                         get { return manifestType; }
106                         set { manifestType = value; }
107                 }
108                 
109                 public string OSVersion {
110                         get { return osVersion; }
111                         set { osVersion = value; }
112                 }
113                 
114                 public ITaskItem TrustInfoFile {
115                         get { return trustInfoFile; }
116                         set { trustInfoFile = value; }
117                 }
118         }
119 }
120