void AddFileProjectItemToProject(string path) { ProjectFile fileItem = CreateFileProjectItem(path); project.AddFile(fileItem); project.Save(); }
async Task AddFileProjectItemToProject(string path) { ProjectFile fileItem = CreateFileProjectItem(path); project.AddFile(fileItem); await project.SaveAsync(); }