Modifying Specific Projects Example... #41
Replies: 3 comments
-
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(); MvsSln/MvsSln/Core/IXProject.cs Lines 186 to 191 in 9ce5885 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. |
Beta Was this translation helpful? Give feedback.
-
Close but a related problem has come up... This is covered in Issue #39... |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
#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...
Beta Was this translation helpful? Give feedback.
All reactions