ENG-6270: Deprecation warning if user tries to compile with project file.