Exemplo n.º 1
0
        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();
        }