5 // Marek Sieradzki (marek.sieradzki@gmail.com)
7 // (C) 2006 Marek Sieradzki
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:
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
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.
30 using System.Runtime.InteropServices;
31 using Microsoft.Build.Framework;
33 namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
36 public sealed class DeployManifest : Manifest {
39 bool disallowUrlActivation;
40 AssemblyReference entryPoint;
42 bool mapFileExtensions;
43 string minimumRequiredVersion;
47 bool trustUrlParameters;
50 UpdateMode updateMode;
51 UpdateUnit updateUnit;
52 string xmlDeploymentUrl;
53 string xmlDisallowUrlActivation;
55 string xmlMapFileExtensions;
56 string xmlMinimumRequiredVersion;
60 string xmlTrustUrlParameters;
61 string xmlUpdateEnabled;
62 string xmlUpdateInterval;
67 public DeployManifest ()
69 throw new NotImplementedException ();
73 public override void Validate ()
75 throw new NotImplementedException ();
79 public string DeploymentUrl {
80 get { return deploymentUrl; }
81 set { deploymentUrl = value; }
85 public bool DisallowUrlActivation {
86 get { return disallowUrlActivation; }
87 set { disallowUrlActivation = value; }
91 public override AssemblyReference EntryPoint {
92 get { return entryPoint; }
93 set { entryPoint = value; }
98 get { return install; }
99 set { install = value; }
103 public bool MapFileExtensions {
104 get { return mapFileExtensions; }
105 set { mapFileExtensions = value; }
109 public string MinimumRequiredVersion {
110 get { return minimumRequiredVersion; }
111 set { minimumRequiredVersion = value; }
115 public string Product {
116 get { return product; }
117 set { product = value; }
121 public string Publisher {
122 get { return publisher; }
123 set { publisher = value; }
127 public string SupportUrl {
128 get { return supportUrl; }
129 set { supportUrl = value; }
133 public bool TrustUrlParameters {
134 get { return trustUrlParameters; }
135 set { trustUrlParameters = value; }
139 public bool UpdateEnabled {
140 get { return updateEnabled; }
141 set { updateEnabled = value; }
145 public int UpdateInterval {
146 get { return updateInterval; }
147 set { updateInterval = value; }
151 public UpdateMode UpdateMode {
152 get { return updateMode; }
153 set { updateMode = value; }
157 public UpdateUnit UpdateUnit {
158 get { return updateUnit; }
159 set { updateUnit = value; }
163 public string XmlDeploymentUrl {
164 get { return xmlDeploymentUrl; }
165 set { xmlDeploymentUrl = value; }
169 public string XmlDisallowUrlActivation {
170 get { return xmlDisallowUrlActivation; }
171 set { xmlDisallowUrlActivation = value; }
175 public string XmlInstall {
176 get { return xmlInstall; }
177 set { xmlInstall = value; }
181 public string XmlMapFileExtensions {
182 get { return xmlMapFileExtensions; }
183 set { xmlMapFileExtensions = value; }
187 public string XmlMinimumRequiredVersion {
188 get { return xmlMinimumRequiredVersion; }
189 set { xmlMinimumRequiredVersion = value; }
193 public string XmlProduct {
194 get { return xmlProduct; }
195 set { xmlProduct = value; }
199 public string XmlPublisher {
200 get { return xmlPublisher; }
201 set { xmlPublisher = value; }
205 public string XmlSupportUrl {
206 get { return xmlSupportUrl; }
207 set { xmlSupportUrl = value; }
211 public string XmlTrustUrlParameters {
212 get { return xmlTrustUrlParameters; }
213 set { xmlTrustUrlParameters = value; }
217 public string XmlUpdateEnabled {
218 get { return xmlUpdateEnabled; }
219 set { xmlUpdateEnabled = value; }
223 public string XmlUpdateInterval {
224 get { return xmlUpdateInterval; }
225 set { xmlUpdateInterval = value; }
229 public string XmlUpdateMode {
230 get { return xmlUpdateMode; }
231 set { xmlUpdateMode = value; }
235 public string XmlUpdateUnit {
236 get { return xmlUpdateUnit; }
237 set { xmlUpdateUnit = value; }