Assembly Attributes

Every assembly contains various attributes, including the assembly name, company, version, culture, copyright, and description among others. Listing 5.1.3 shows the default AssemblyInfo.cs file included in every C# .NET project.

Listing 5.1.3. AssemblyInfo.cs
 1: using System.Reflection; 2: using System.Runtime.CompilerServices; 3: 4: // 5: // General Information about an assembly is controlled through the following 6: // set of attributes. Change these attribute values to modify the information 7: // associated with an assembly. 8: // 9: [assembly: AssemblyTitle("")] 10: [assembly: AssemblyDescription("")] 11: [assembly: AssemblyConfiguration("")] 12: [assembly: AssemblyCompany("")] 13: [assembly: AssemblyProduct("")] 14: ...

Get C# and the .NET Framework: The C++ Perspective now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.