Ignoring the Rules
When I ran FxCop after making these changes, it still came up with one error. According to FxCop, I needed to mark the assembly with the ComVisible attribute. But this assembly wouldn't be visible to COM anyway because it's not a component. Fortunately, you can choose to ignore rules that don't apply to your application. All of the other rules to this point have made a positive change to the application, but this one doesn't. To remove this rule from consideration, double-click its entry in the list and click Exclude in the Active Message Details dialog box.
The rule doesn't actually go away; FxCop simply removes it from the Active tab of the main window. Click the Excluded tab and you'll see that the rule has moved there. If you want to include the rule again, double-click it and click UnExclude in the Excluded Message Details dialog box.