2 // ApplicationManifest.cs
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 ApplicationManifest : AssemblyManifest {
40 AssemblyReference entryPoint;
42 bool isClickOnceManifest;
49 AssemblyIdentity xmlEntryPointIdentity;
50 string xmlEntryPointParameters;
51 string xmlEntryPointPath;
53 string xmlIsClickOnceManifest;
55 string xmlOSDescription;
59 string xmlOSSupportUrl;
62 public ApplicationManifest ()
64 throw new NotImplementedException ();
68 public string ConfigFile {
69 get { return configFile; }
70 set { configFile = value; }
74 public override AssemblyReference EntryPoint {
75 get { return entryPoint; }
76 set { entryPoint = value; }
80 public string IconFile {
81 get { return iconFile; }
82 set { iconFile = value; }
86 public bool IsClickOnceManifest {
87 get { return isClickOnceManifest; }
88 set { isClickOnceManifest = value; }
92 public int MaxTargetPath {
93 get { return maxTargetPath; }
94 set { maxTargetPath = value; }
98 public string OSDescription {
99 get { return osDescription; }
100 set { osDescription = value; }
104 public string OSSupportUrl {
105 get { return osSupportUrl; }
106 set { osSupportUrl = value; }
110 public string OSVersion {
111 get { return osVersion; }
112 set { osVersion = value; }
116 public TrustInfo TrustInfo {
117 get { return trustInfo; }
118 set { trustInfo = value; }
122 public string XmlConfigFile {
123 get { return xmlConfigFile; }
124 set { xmlConfigFile = value; }
128 public AssemblyIdentity XmlEntryPointIdentity {
129 get { return xmlEntryPointIdentity; }
130 set { xmlEntryPointIdentity = value; }
134 public string XmlEntryPointParameters {
135 get { return xmlEntryPointParameters; }
136 set { xmlEntryPointParameters = value; }
140 public string XmlEntryPointPath {
141 get { return xmlEntryPointPath; }
142 set { xmlEntryPointPath = value; }
146 public string XmlIconFile {
147 get { return xmlIconFile; }
148 set { xmlIconFile = value; }
152 public string XmlIsClickOnceManifest {
153 get { return xmlIsClickOnceManifest; }
154 set { xmlIsClickOnceManifest = value; }
158 public string XmlOSBuild {
159 get { return xmlOSBuild; }
160 set { xmlOSBuild = value; }
164 public string XmlOSDescription {
165 get { return xmlOSDescription; }
166 set { xmlOSDescription = value; }
170 public string XmlOSMajor {
171 get { return xmlOSMajor; }
172 set { xmlOSMajor = value; }
176 public string XmlOSMinor {
177 get { return xmlOSMinor; }
178 set { xmlOSMinor = value; }
182 public string XmlOSRevision {
183 get { return xmlOSRevision; }
184 set { xmlOSRevision = value; }
188 public string XmlOSSupportUrl {
189 get { return xmlOSSupportUrl; }
190 set { xmlOSSupportUrl = value; }