Closed DynConcepts closed 3 years ago
IXProject in 2.x wraps an msbuild, so you can simply use it separately or such as
IXProject xp = ...
xp.SetProperty("OutDir", "new-value");
xp.Save();
easy to group like
xp.SetProperties(new Dictionary<string, string>()
{
{ "name1", "value1" },
{ "name2", "value2" },
{ "name3", "value3" }
});
<PropertyGroup>
<name1>value1</name1>
<name2>value2</name2>
<name3>value3</name3>
</PropertyGroup>
etc.
Close but a related problem has come up... This is covered in Issue #39...
I think it's time to play with new Discussions for the similar general questions like this.
@DynConcepts Please use Discussions for cases like this instead of opening new Issues. We'll test it together. Thanks.
https://github.com/3F/MvsSln/issues/3
Shows how to modify a Solution, I am looking for how to modify a Project... e.g. Change the $OutDir property and update the (.vcxproj in this case) file...