string GetFileLocationForProject(string fileName, Project project)
        {
            //project not null, copy file to resources folder, warn on overwrite
            string resFolder = System.IO.Path.Combine (project.BaseDirectory.FullPath, "Resources");
            string newFile = System.IO.Path.Combine (resFolder, fileName);

            if (Directory.Exists (resFolder)) {
                if (File.Exists (newFile)) {
                    bool overwrite = MessageService.Confirm (GettextCatalog.GetString (
                        "Overwrite existing file?"),
                                                             GettextCatalog.GetString (
                        "A file named {0} already exists in the Resources folder.",
                        fileName),
                                                             AlertButton.OverwriteFile);
                    if (!overwrite)
                        return null; // cancelled
                }
            } else {
                Directory.CreateDirectory (resFolder);
                project.AddDirectory ("Resources");
                project.Save (null); //FIXME: ok to save users project here? did this with generate resources wizard too?
            }

            return newFile;
        }
 public void Save(Project project)
 {
     project.Save();
 }