PC Review


Reply
Thread Tools Rate Thread

Accessing AssemblyInfo

 
 
New Member
Join Date: Jul 2006
Posts: 1
 
      3rd Jul 2006
hi, Im running a pocket PC on windows CE and I have a description stored in the AssemblyDescription part of the AssemblyInfo. I need to retrieve the description during runtime. I've looked on the net and found a solution. This solution work perfectly in a windows XP environment, but not in Windows CE - even though the MSDN says its for CE too. below is my code:

Dim attr As System.Reflection.AssemblyDescriptionAttribute = & _ System.Reflection.AssemblyDescriptionAttribute.GetCustomAttribute( & _
System.Reflection.Assembly.GetExecutingAssembly, & _ GetType(System.Reflection.AssemblyDescriptionAttribute))

This gives me an unrecognised exception error.
its to do with the GetCustomAttribute command. but can't figure out why.

Please Help!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the use of AssemblyInfo.cs Dragon Microsoft C# .NET 1 24th Feb 2006 05:34 AM
Accessing attributes from AssemblyInfo on CF Waldek Microsoft Dot NET Compact Framework 3 19th Feb 2005 12:51 AM
AssemblyInfo.cs =?Utf-8?B?TXJOb2JvZHk=?= Microsoft C# .NET 2 4th Jan 2005 05:29 PM
AssemblyInfo Van Tumour Microsoft VC .NET 0 28th Sep 2004 07:37 PM
AssemblyInfo.cs 0.0.0.0 Jason Speece Microsoft Dot NET Compact Framework 1 14th Aug 2003 06:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:14 PM.