Code snippets can be helpful. Otherwise the can lead to code duplicates – so use them with wisely.
Get the public key for the InternalsVisibleTo attribute from a string name key pair file:
I really like FxCop. But in a debugging session it can be useful to save time by temporarily disabling the code analysis. Sadly there is no *global switch* to turn it off and on again. So here is my approach:
Note to myself…
The Microsoft .NET Framework has a built in licensing technology. It can be found in the namespace System.ComponentModel and System.ComponentModel.Design.