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.
31 using System
.Runtime
.InteropServices
;
32 using Microsoft
.Build
.Framework
;
34 namespace Microsoft
.Build
.Tasks
.Deployment
.ManifestUtilities
{
37 public sealed class DeployManifest
: Manifest
{
40 bool disallowUrlActivation
;
41 AssemblyReference entryPoint
;
43 bool mapFileExtensions
;
44 string minimumRequiredVersion
;
48 bool trustUrlParameters
;
51 UpdateMode updateMode
;
52 UpdateUnit updateUnit
;
53 string xmlDeploymentUrl
;
54 string xmlDisallowUrlActivation
;
56 string xmlMapFileExtensions
;
57 string xmlMinimumRequiredVersion
;
61 string xmlTrustUrlParameters
;
62 string xmlUpdateEnabled
;
63 string xmlUpdateInterval
;
68 public DeployManifest ()
70 throw new NotImplementedException ();
74 public override void Validate ()
76 throw new NotImplementedException ();
80 public string DeploymentUrl
{
81 get { return deploymentUrl; }
82 set { deploymentUrl = value; }
86 public bool DisallowUrlActivation
{
87 get { return disallowUrlActivation; }
88 set { disallowUrlActivation = value; }
92 public override AssemblyReference EntryPoint
{
93 get { return entryPoint; }
94 set { entryPoint = value; }
99 get { return install; }
100 set { install = value; }
104 public bool MapFileExtensions
{
105 get { return mapFileExtensions; }
106 set { mapFileExtensions = value; }
110 public string MinimumRequiredVersion
{
111 get { return minimumRequiredVersion; }
112 set { minimumRequiredVersion = value; }
116 public string Product
{
117 get { return product; }
118 set { product = value; }
122 public string Publisher
{
123 get { return publisher; }
124 set { publisher = value; }
128 public string SupportUrl
{
129 get { return supportUrl; }
130 set { supportUrl = value; }
134 public bool TrustUrlParameters
{
135 get { return trustUrlParameters; }
136 set { trustUrlParameters = value; }
140 public bool UpdateEnabled
{
141 get { return updateEnabled; }
142 set { updateEnabled = value; }
146 public int UpdateInterval
{
147 get { return updateInterval; }
148 set { updateInterval = value; }
152 public UpdateMode UpdateMode
{
153 get { return updateMode; }
154 set { updateMode = value; }
158 public UpdateUnit UpdateUnit
{
159 get { return updateUnit; }
160 set { updateUnit = value; }
164 public string XmlDeploymentUrl
{
165 get { return xmlDeploymentUrl; }
166 set { xmlDeploymentUrl = value; }
170 public string XmlDisallowUrlActivation
{
171 get { return xmlDisallowUrlActivation; }
172 set { xmlDisallowUrlActivation = value; }
176 public string XmlInstall
{
177 get { return xmlInstall; }
178 set { xmlInstall = value; }
182 public string XmlMapFileExtensions
{
183 get { return xmlMapFileExtensions; }
184 set { xmlMapFileExtensions = value; }
188 public string XmlMinimumRequiredVersion
{
189 get { return xmlMinimumRequiredVersion; }
190 set { xmlMinimumRequiredVersion = value; }
194 public string XmlProduct
{
195 get { return xmlProduct; }
196 set { xmlProduct = value; }
200 public string XmlPublisher
{
201 get { return xmlPublisher; }
202 set { xmlPublisher = value; }
206 public string XmlSupportUrl
{
207 get { return xmlSupportUrl; }
208 set { xmlSupportUrl = value; }
212 public string XmlTrustUrlParameters
{
213 get { return xmlTrustUrlParameters; }
214 set { xmlTrustUrlParameters = value; }
218 public string XmlUpdateEnabled
{
219 get { return xmlUpdateEnabled; }
220 set { xmlUpdateEnabled = value; }
224 public string XmlUpdateInterval
{
225 get { return xmlUpdateInterval; }
226 set { xmlUpdateInterval = value; }
230 public string XmlUpdateMode
{
231 get { return xmlUpdateMode; }
232 set { xmlUpdateMode = value; }
236 public string XmlUpdateUnit
{
237 get { return xmlUpdateUnit; }
238 set { xmlUpdateUnit = value; }