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.
30 using System.Runtime.InteropServices;
31 using Microsoft.Build.Framework;
33 namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
36 public sealed class ApplicationManifest : AssemblyManifest {
39 AssemblyReference entryPoint;
41 bool isClickOnceManifest;
48 AssemblyIdentity xmlEntryPointIdentity;
49 string xmlEntryPointParameters;
50 string xmlEntryPointPath;
52 string xmlIsClickOnceManifest;
54 string xmlOSDescription;
58 string xmlOSSupportUrl;
61 public ApplicationManifest ()
63 throw new NotImplementedException ();
67 public string ConfigFile {
68 get { return configFile; }
69 set { configFile = value; }
73 public override AssemblyReference EntryPoint {
74 get { return entryPoint; }
75 set { entryPoint = value; }
79 public string IconFile {
80 get { return iconFile; }
81 set { iconFile = value; }
85 public bool IsClickOnceManifest {
86 get { return isClickOnceManifest; }
87 set { isClickOnceManifest = value; }
91 public int MaxTargetPath {
92 get { return maxTargetPath; }
93 set { maxTargetPath = value; }
97 public string OSDescription {
98 get { return osDescription; }
99 set { osDescription = value; }
103 public string OSSupportUrl {
104 get { return osSupportUrl; }
105 set { osSupportUrl = value; }
109 public string OSVersion {
110 get { return osVersion; }
111 set { osVersion = value; }
115 public TrustInfo TrustInfo {
116 get { return trustInfo; }
117 set { trustInfo = value; }
121 public string XmlConfigFile {
122 get { return xmlConfigFile; }
123 set { xmlConfigFile = value; }
127 public AssemblyIdentity XmlEntryPointIdentity {
128 get { return xmlEntryPointIdentity; }
129 set { xmlEntryPointIdentity = value; }
133 public string XmlEntryPointParameters {
134 get { return xmlEntryPointParameters; }
135 set { xmlEntryPointParameters = value; }
139 public string XmlEntryPointPath {
140 get { return xmlEntryPointPath; }
141 set { xmlEntryPointPath = value; }
145 public string XmlIconFile {
146 get { return xmlIconFile; }
147 set { xmlIconFile = value; }
151 public string XmlIsClickOnceManifest {
152 get { return xmlIsClickOnceManifest; }
153 set { xmlIsClickOnceManifest = value; }
157 public string XmlOSBuild {
158 get { return xmlOSBuild; }
159 set { xmlOSBuild = value; }
163 public string XmlOSDescription {
164 get { return xmlOSDescription; }
165 set { xmlOSDescription = value; }
169 public string XmlOSMajor {
170 get { return xmlOSMajor; }
171 set { xmlOSMajor = value; }
175 public string XmlOSMinor {
176 get { return xmlOSMinor; }
177 set { xmlOSMinor = value; }
181 public string XmlOSRevision {
182 get { return xmlOSRevision; }
183 set { xmlOSRevision = value; }
187 public string XmlOSSupportUrl {
188 get { return xmlOSSupportUrl; }
189 set { xmlOSSupportUrl = value; }