build: added missed stylecop nuget package.
build: addressed code analysis warnings.