Accessing attributes from AssemblyInfo on CF

  • Thread starter Thread starter Waldek
  • Start date Start date
W

Waldek

Is possible to access attributes from AssemblyInfo file like
"AssemblyTitle","AssemblyDescription"
etc.

Code below causes NotSupportedException :
Dim att As System.Reflection.AssemblyTitleAttribute

att =
System.Reflection.AssemblyTitleAttribute.GetCustomAttribute(System.Reflectio
n.Assembly.GetExecutingAssembly(),
GetType(System.Reflection.AssemblyTitleAttribute))

MsgBox(att.Title)
 
This is a known limitation of CF 1.0 addressed in CF 2.0

Cheers
Daniel
 
Ok, thanks for info but ... ildasm display in MANIFEST thoes attributes. Is
no way to get values, even using some GetType/GetField sequence ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top