ClrPlus.Scripting.MsBuild.Packaging.ProjectPlus.Save C# (CSharp) Method

Save() public method

public Save ( ) : bool
return bool
        public new bool Save()
        {
            if(Xml.Children.Count > 0) {
                if (Filename.ToLower().EndsWith(".targets")) {
                    AddConfigurations();
                }
                if(BeforeSave != null) {
                    BeforeSave();
                }

                Event<Verbose>.Raise("ProjectPlus.Save", "Saving msbuild project file [{0}].", FullPath);
                FullPath.TryHardToDelete();
                base.Save();
                return true;
            }
            return false;
        }