T
Thibaud Bouquely
Hello
I want load Attribute on my assembly with this type of code :
static private void LoadAssembly(Assembly a)
{
foreach(Attribute attr in Attribute.GetCustomAttributes(a, typeof
(MyAttributeAttribute), false))
{
.... do something
}
}
but NotSupprtedException is return
I didnot another way to do this, could you help me please ?
(Rq : I do the same thing on types in Assembly, and everything work fine
....)
I want load Attribute on my assembly with this type of code :
static private void LoadAssembly(Assembly a)
{
foreach(Attribute attr in Attribute.GetCustomAttributes(a, typeof
(MyAttributeAttribute), false))
{
.... do something
}
}
but NotSupprtedException is return
I didnot another way to do this, could you help me please ?
(Rq : I do the same thing on types in Assembly, and everything work fine
....)