xmlupdate

XmlUpdate task not updating my XML file

萝らか妹 提交于 2021-02-19 03:20:51
问题 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

XmlUpdate task not updating my XML file

允我心安 提交于 2021-02-19 03:19:59
问题 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

XmlUpdate task not updating my XML file

两盒软妹~` 提交于 2021-02-19 03:19:56
问题 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

XmlUpdate task not updating my XML file

陌路散爱 提交于 2021-02-19 03:19:49
问题 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