XmlUpdate task not updating my XML file
问题 I have the following task in an MSBuild script: <XmlUpdate Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" XmlFileName="$(PackageDir)\temp\OddEnds.Testing\OddEnds.Testing.nuspec" XPath="/package/metadata/version" Value="%(OddEndsTestingAsmInfo.Version)" /> which is supposed to update an empty version node in a NuGet specification file with the assembly version. My .nuspec file looks like this: <?xml version="1.0" encoding="utf-8"?> <package xmlns:xsd="http://www.w3.org