Although StyleCop.MSBuild is showing in packages.config, somehow the targets haven't added to the csproj.

If you like, leave this and I'll fix it later. Installations of StyleCop.MSBuild can be a little awkward to manage since it's built to workaround the shortcomings in Nuget pre version 2.7.