You cannot add a source controlled file to an uncontrolled solution/project. Please add your solution/project to source control ...