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 AssemblyIdentity {
40 bool isFrameworkAssembly;
41 bool isNeutralPlatform;
44 string processorArchitecture;
45 string publicKeyToken;
50 string xmlProcessorArchitecture;
51 string xmlPublicKeyToken;
56 public AssemblyIdentity ()
58 throw new NotImplementedException ();
62 public AssemblyIdentity (AssemblyIdentity identity)
64 throw new NotImplementedException ();
68 public AssemblyIdentity (string name)
70 throw new NotImplementedException ();
74 public AssemblyIdentity (string name, string version)
76 throw new NotImplementedException ();
80 public AssemblyIdentity (string name, string version,
81 string publicKeyToken, string culture)
83 throw new NotImplementedException ();
87 public AssemblyIdentity (string name, string version,
88 string publicKeyToken, string culture,
89 string processorArchitecture)
91 throw new NotImplementedException ();
95 public AssemblyIdentity (string name, string version,
96 string publicKeyToken, string culture,
97 string processorArchitecture,
100 throw new NotImplementedException ();
104 public static AssemblyIdentity FromAssemblyName (string assemblyName)
106 throw new NotImplementedException ();
110 public static AssemblyIdentity FromFile (string path)
112 throw new NotImplementedException ();
116 public static AssemblyIdentity FromManagedAssembly (string path)
118 throw new NotImplementedException ();
122 public static AssemblyIdentity FromManifest (string path)
124 throw new NotImplementedException ();
128 public static AssemblyIdentity FromNativeAssembly (string path)
130 throw new NotImplementedException ();
134 public string GetFullName (FullNameFlags flags)
136 throw new NotImplementedException ();
140 public override string ToString ()
142 throw new NotImplementedException ();
146 public string Culture {
147 get { return culture; }
148 set { culture = value; }
152 public bool IsFrameworkAssembly {
153 get { return isFrameworkAssembly; }
157 public bool IsNeutralPlatform {
158 get { return isNeutralPlatform; }
162 public bool IsStrongName {
163 get { return isStrongName; }
169 set { name = value; }
173 public string ProcessorArchitecture {
174 get { return processorArchitecture; }
175 set { processorArchitecture = value; }
179 public string PublicKeyToken {
180 get { return publicKeyToken; }
181 set { publicKeyToken = value; }
187 set { type = value; }
191 public string Version {
192 get { return version; }
193 set { version = value; }
197 public string XmlCulture {
198 get { return xmlCulture; }
199 set { xmlCulture = value; }
203 public string XmlName {
204 get { return xmlName; }
205 set { xmlName = value; }
209 public string XmlProcessorArchitecture {
210 get { return xmlProcessorArchitecture; }
211 set { xmlProcessorArchitecture = value; }
215 public string XmlPublicKeyToken {
216 get { return xmlPublicKeyToken; }
217 set { xmlPublicKeyToken = value; }
221 public string XmlType {
222 get { return xmlType; }
223 set { xmlType = value; }
227 public string XmlVersion {
228 get { return xmlVersion; }
229 set { xmlVersion = value; }
233 public enum FullNameFlags {
235 ProcessorArchitecture,