Alex Rivera | Logout

C#: how to set version number of assembly

Asked 2010-10-20T07:28:04.070
28

I have written a DLL in C# using VS2005.

Currently the DLL is showing a version number of 1.0.0.0.

How do I set this version number to something different?

Edit
Report

1 Answer

5

Alter this line in AssemblyInfo.cs:

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
[assembly: AssemblyVersion("1.9.10292.8")]
answered 2010-10-20T07:31:31.147

Your Answer