Home > Interview Questions > ASP.NET > What is assemblyInfo.cs file in .net?

What is assemblyInfo.cs file in .net?

by Thamil   on 06/10/2015   Category: ASP.NET   |  Level: Intermediate   |  Views: 1002    |  Points: 25     |  Gold 

Assemblyinfo.cs file contains the application information such as application description, version and loaded assembly details. Assembly.cs file will be created automatically when application is created and it resides under properties folder. Below is the set of attributes available in the assembly.cs file.

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Samples")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Samples")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("0766bb9e-3344-48c6-8f84-75f21be769e8")]

// Version information for an assembly consists of the following four values:
// Major Version
// Minor Version
// Build Number
// Revision
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("")]
[assembly: AssemblyFileVersion("")]

« Is it possible to store multiple data types in System.Array in C#?
» How do you clear last exception that occurred in the application?
Post Question  |  Question Home

Recent Posts

User Responses

No response found, be the first to review this question.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts