Solution settings and CodeAnalysis fixes.