A note on applying the Perform Runtime Contract Checking option: application runs pick up the changed setting on restart, while unit tests require an explicit rebuild
How to suppress automatic ArcGIS Add-In registration during Visual Studio builds under limited permissions by placing a Dont_EsriRegAddin.txt file beside the project file.