Fix bug where only first line was properly being checked, change solution to VS2012