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.
32 using System
.Runtime
.InteropServices
;
33 using Microsoft
.Build
.Framework
;
35 namespace Microsoft
.Build
.Tasks
.Deployment
.ManifestUtilities
{
38 public abstract class Manifest
{
40 AssemblyIdentity assemblyIdentity
;
41 AssemblyReferenceCollection assemblyReferences
;
43 AssemblyReference entryPoint
;
44 FileReferenceCollection fileReferences
;
46 OutputMessageCollection outputMessages
;
49 AssemblyIdentity xmlAssemblyIdentity
;
50 AssemblyReference
[] xmlAssemblyReferences
;
51 string xmlDescription
;
52 FileReference
[] xmlFileReferences
;
56 protected internal Manifest ()
58 throw new NotImplementedException ();
62 public void ResolveFiles ()
64 throw new NotImplementedException ();
68 public void ResolveFiles (string[] searchPaths
)
70 throw new NotImplementedException ();
74 public override string ToString ()
76 throw new NotImplementedException ();
80 public void UpdateFileInfo ()
82 throw new NotImplementedException ();
86 public virtual void Validate ()
88 throw new NotImplementedException ();
92 protected void ValidatePlatform ()
94 throw new NotImplementedException ();
98 public AssemblyIdentity AssemblyIdentity
{
99 get { return assemblyIdentity; }
100 set { assemblyIdentity = value; }
104 public AssemblyReferenceCollection AssemblyReferences
{
105 get { return assemblyReferences; }
109 public string Description
{
110 get { return description; }
111 set { description = value; }
115 public virtual AssemblyReference EntryPoint
{
116 get { return entryPoint; }
117 set { entryPoint = value; }
121 public FileReferenceCollection FileReferences
{
122 get { return fileReferences; }
126 public Stream InputStream
{
127 get { return inputStream; }
128 set { inputStream = value; }
132 public OutputMessageCollection OutputMessages
{
133 get { return outputMessages; }
137 public bool ReadOnly
{
138 get { return readOnly; }
139 set { readOnly = value; }
143 public string SourcePath
{
144 get { return sourcePath; }
145 set { sourcePath = value; }
149 public AssemblyIdentity XmlAssemblyIdentity
{
150 get { return xmlAssemblyIdentity; }
151 set { xmlAssemblyIdentity = value; }
155 public AssemblyReference
[] XmlAssemblyReferences
{
156 get { return xmlAssemblyReferences; }
157 set { xmlAssemblyReferences = value; }
161 public string XmlDescription
{
162 get { return xmlDescription; }
163 set { xmlDescription = value; }
167 public FileReference
[] XmlFileReferences
{
168 get { return xmlFileReferences; }
169 set { xmlFileReferences = value; }
173 public string XmlSchema
{
174 get { return xmlSchema; }
175 set { xmlSchema = value; }