天道酬勤,学无止境

fxcop-customrules

FxCop: custom rule for checking assembly info values

Is there a reasonably simple way to get FxCop to check that all my assemblies declare a particular attribute value? I want to make sure everyone has changed the default you get on creating a project: [assembly: AssemblyCompany("Microsoft")] // fail [assembly: AssemblyCompany("FooBar Inc.")] // pass

2021-05-07 23:26:56    分类:问答    c#   fxcop   fxcop-customrules