I'm trying to use AssemblyInfoTask's custom-attributes feature to specify an FxCop System.Diagnostics.SuppressMessageAttribute, whose constructor has the following signature:
SuppressMessage(string categoryId, string checkId)
with optional parameters Justification, MessageId, Scope and Target but that feature seems to only support attributes with a single-parameter constructor.
I would like either
- to have support for that attribute a la the other specifically-supported ones
- to have support for attributes with more complicated constructors (more than one constructor parameter, plus optional named arguments)
- to have support for pushing in attributes as strings
I'm trying to use AssemblyInfoTask's custom-attributes feature to specify an FxCop System.Diagnostics.SuppressMessageAttribute, whose constructor has the following signature:
with optional parameters
Justification,MessageId,ScopeandTargetbut that feature seems to only support attributes with a single-parameter constructor.I would like either