Removes broken links in sample.
Avoids StyleCop messages on generated files in the IDE.
Fixes two unit tests that fail in Release configurations.