using Microsoft.Build.Evaluation; Project project = new Project("path/to/myproject.csproj");
using Microsoft.Build.Evaluation; Project project = new Project("path/to/myproject.csproj"); project.SetProperty("OutputPath", "bin\\Debug"); project.Save();In this example, we've loaded a project file and then set one of its properties (`OutputPath`) to a new value. We then save the project file, which updates the XML on disk with the new value. Package Library: Microsoft.Build Overall, the Microsoft.Build.Evaluation project is part of the larger Microsoft.Build package, which contains several related libraries for building, evaluating, and testing code.