Fixed empty project file generation and multiple errors associated with new dart version.