CCNet.Build.Common.ProjectDocument.Save C# (CSharp) 메소드

Save() 공개 메소드

Saves project file to disk.
public Save ( ) : void
리턴 void
		public void Save()
		{
			if (String.IsNullOrEmpty(m_projectFile))
				throw new InvalidOperationException("Project is not associated with local file.");

			m_document.Save(m_projectFile);
		}

Usage Example

예제 #1
0
		public void Adjust()
		{
			Console.Write("Loading project... ");
			var project = new ProjectDocument(Args.ProjectFile);
			Console.WriteLine("OK");

			ConvertProjectReferences(project);
			UpdateReferenceVersions(project);
			SetupRelatedProjects(project);

			Console.Write("Saving project... ");
			project.Save();
			Console.WriteLine("OK");
		}
All Usage Examples Of CCNet.Build.Common.ProjectDocument::Save