Hi all
Is there a built in attribute in the .net framework to mark up code with an arbitrary key and value? I've had a look through the list, but can't see anything useful there. What we ideally want is to be able to say
[NameValuePair("MyKey", "My long bit of text")]
...and then pull it out later on
Actually, what we really want to be able to do is embed extra info into the assemblyinfo at continuous integration build time, like
[Assembly: NameValuePair("MyKey", "My long bit of text")]
and then pull it out later on
I've seen Jeff's post about Custom AssemblyInfo Attributes, and it is good, but if there's an implicit attribute baked into the framework it'll be even better.