mikefourie-zz / MSBuildExtensionPack

MIT License
366 stars 104 forks source link

xpath question regarding using MSBuild.ExtensionPack.Xml.XmlFile : AddElement #19

Closed craighill179 closed 6 years ago

craighill179 commented 9 years ago

I am trying to export the TFS global list , update it and import via witadmin Basically we want to add build numbers that our uses a non-tfs format

I can check for existence and read them OK MY issue is writing bvalues to the XM L file, I am not sure of the xpath value that is necessary to accomplish this

Suggestions??

SAMPLE GlobalList.xml

<?xml version="1.0" encoding="utf-8"?>

/gl:GLOBALLISTS MSBUILD Script C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\witadmin.exe $(MSBuildProjectDirectory)\GlobalList.xml C:\Temp\GlobalList.xml $(RELEASE_VERSION_DOT).$(BUILDNUMBER)
craighill179 commented 9 years ago

for some reason the cut/pate ff for the global list and msbulild script did not post correctly

Global List:

<?xml version="1.0" encoding="utf-8"?>

/gl:GLOBALLISTS MSBUILD Script: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\witadmin.exe $(MSBuildProjectDirectory)\GlobalList.xml C:\Temp\GlobalList.xml $(RELEASE_VERSION_DOT).$(BUILDNUMBER)
craighill179 commented 9 years ago
mikefourie-zz commented 8 years ago

is this still a problem?