Add CODE_ANALYSIS constant to csproj files
Add CODE_ANALYSIS to projects that were missing from previous commit