I am trying to use the Edit XML File action to edit a Visual Studio 2005 Web Deployment Project. I cut and pasted the file below. I want to edit the four AssemblyAttributes so that the AssemblyVersion and AssemblyFileVersion are the same using a Script Variable. I can get to the first node using the following XPath
/a:Project/a:ItemGroup/a:AssemblyAttributes/a:Value
and change the value to the Script Variable. What I cannot figure out is how to get to the other three. My ultimate aim is to have the AssemblyVersion and AssemblyFileVersion for the DLLs that are created to all have the same number that reflects my custom Major.Minor.BuildDate.BuildNumber. Any suggestions?
http://schemas.microsoft.com/developer/msbuild/2003">
Debug
AnyCPU
8.0.51103
2.0
{681F6585-8932-467C-B710-A35AC2270C7F}
..\Project1_UI
{7AB5D0FA-A8BE-4822-AEF9-EF55E47520D4}|C:\Projects\FinalBuilder\Project1_Solution\Project1_UI
/Project1_UI
true
.\Debug
true
true
Project1_UI
false
.\Release
true
true
Project1_UI
4.0.0.0
4.0.0.0
3.0.0.0
3.0.0.0