On Sat, 2005-06-25 at 06:45 -0400, Stephen Touset wrote:
> 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?

It is probably a pseudo attribute -- it can be accessed via a property
in reflection.

-- Ben

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to