[Mono-list] AssemblyVersionAttribute not showing up?

Stephen Touset stephen at touset.org
Sat Jun 25 06:45:06 EDT 2005


I've created an AssemblyInfo.cs file, and set the
AssemblyTitleAttribute, AssemblyVersionAttribute, and
AssemblyCopyrightAttribute within. I've also ensured that the
System.Reflection namespace is being used.

However, when I try to use the GetCustomAttributes method on the
currently executing assembly, the only Attributes it returns are the
Title and Copyright Attributes. No Version.

Is there any reason that an AssemblyVersionAttribute wouldn't be
accessible through this way, even though other attributes set in
AssemblyInfo.cs are?

-- 
Stephen Touset <stephen at touset.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://galactus.ximian.com/pipermail/mono-list/attachments/20050625/908f18a7/attachment.bin


More information about the Mono-list mailing list