Troubleshooting "Precondition failed" error message

If, after attempting to run an SDK example, you encounter the following error message, you need to install a separate component.

Error window: list_apps.vshost.exe - Precondition failed.

To run the examples, you'll need to install the code contracts binary rewriter. Follow the instructions contained in the error message: Exit Visual Studio and install CCRewrite from http://go.microsoft.com/fwlink/?LinkID=169180. Then, rebuild the solution and run the example again.