Unable to update a value in msbuild proj file using powershell
问题 I am trying to read a .csproj file using powershell by converting it into xml file to increment WPF app version value. I am able to read the value without any issue and incremented the version value but when I try to save the file with new value, the value doesn't get saved. The code I pasted in this question is to update the QA details. I am trying to read the below file. How do i update and save file <Choose> <When Condition=" '$(BuildEnvironment)' == 'QA' "> <PropertyGroup>