Updated project file for code analysis and to treat warnings as errors.

Thought this would be good to be included, especially when adding future features.