Updated project file

Added code analysis and set to treat warnings as errors.