Bump version to 4.0.0, update copyright and assembly comments.
Skip broken project references when preparing samples.