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!
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!