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 AssemblyIdentity {
39 bool isFrameworkAssembly;
40 bool isNeutralPlatform;
43 string processorArchitecture;
44 string publicKeyToken;
49 string xmlProcessorArchitecture;
50 string xmlPublicKeyToken;
55 public AssemblyIdentity ()
57 throw new NotImplementedException ();
61 public AssemblyIdentity (AssemblyIdentity identity)
63 throw new NotImplementedException ();
67 public AssemblyIdentity (string name)
69 throw new NotImplementedException ();
73 public AssemblyIdentity (string name, string version)
75 throw new NotImplementedException ();
79 public AssemblyIdentity (string name, string version,
80 string publicKeyToken, string culture)
82 throw new NotImplementedException ();
86 public AssemblyIdentity (string name, string version,
87 string publicKeyToken, string culture,
88 string processorArchitecture)
90 throw new NotImplementedException ();
94 public AssemblyIdentity (string name, string version,
95 string publicKeyToken, string culture,
96 string processorArchitecture,
99 throw new NotImplementedException ();
103 public static AssemblyIdentity FromAssemblyName (string assemblyName)
105 throw new NotImplementedException ();
109 public static AssemblyIdentity FromFile (string path)
111 throw new NotImplementedException ();
115 public static AssemblyIdentity FromManagedAssembly (string path)
117 throw new NotImplementedException ();
121 public static AssemblyIdentity FromManifest (string path)
123 throw new NotImplementedException ();
127 public static AssemblyIdentity FromNativeAssembly (string path)
129 throw new NotImplementedException ();
133 public string GetFullName (FullNameFlags flags)
135 throw new NotImplementedException ();
139 public override string ToString ()
141 throw new NotImplementedException ();
145 public string Culture {
146 get { return culture; }
147 set { culture = value; }
151 public bool IsFrameworkAssembly {
152 get { return isFrameworkAssembly; }
156 public bool IsNeutralPlatform {
157 get { return isNeutralPlatform; }
161 public bool IsStrongName {
162 get { return isStrongName; }
168 set { name = value; }
172 public string ProcessorArchitecture {
173 get { return processorArchitecture; }
174 set { processorArchitecture = value; }
178 public string PublicKeyToken {
179 get { return publicKeyToken; }
180 set { publicKeyToken = value; }
186 set { type = value; }
190 public string Version {
191 get { return version; }
192 set { version = value; }
196 public string XmlCulture {
197 get { return xmlCulture; }
198 set { xmlCulture = value; }
202 public string XmlName {
203 get { return xmlName; }
204 set { xmlName = value; }
208 public string XmlProcessorArchitecture {
209 get { return xmlProcessorArchitecture; }
210 set { xmlProcessorArchitecture = value; }
214 public string XmlPublicKeyToken {
215 get { return xmlPublicKeyToken; }
216 set { xmlPublicKeyToken = value; }
220 public string XmlType {
221 get { return xmlType; }
222 set { xmlType = value; }
226 public string XmlVersion {
227 get { return xmlVersion; }
228 set { xmlVersion = value; }
232 public enum FullNameFlags {
234 ProcessorArchitecture,