Add better handling if a CSharp File could not be generated because parent Project could not be found