Line ending fixes and repair the projects