// // Helper routine to load a source code file into a Project object. // public static SourceFile AugmentProject(Project project, string filepath, string filecontents) { var file = new SourceFile(); file.FileFullPath = filepath; file.AugmentProject(project, filecontents); return(file); }