- Attributes for an Assembly are usually specified in the AssemblyInfo (.cs or .vb) file.
- We may specify attributes such as AssemblyCompany, AssemblyCopyright, AssesmblyAlgorithm, AssemblyCulture, AssemblyDescription, AssemblyFileVersion, etc.
- The AssemblyVersion attribute (different from AssemblyFileVersion) is composed of four parts representing: major, minor, build number and revision number.
- We may use asterisk for both build number and revision number to tell the compiler to generate them automatically. (Note: if revision number is specified, Build number cannot be asterisk)
- There is no inheritance tree for assemblies in .NET 2.0
- GetCustomAttributes( ) method of the Assembly class provides an array of objects representing sttributes specified on a given Assembly.
Sunday, August 9, 2009
Chapter 14-Lesson 2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment