diff options
author | Matt Ward <ward.matt@gmail.com> | 2014-05-02 19:04:40 +0400 |
---|---|---|
committer | Matt Ward <ward.matt@gmail.com> | 2014-05-02 19:04:40 +0400 |
commit | c820ef8c497d5ad10e4902825e4a92cca7626b00 (patch) | |
tree | 1aac122f87dfe1c1b2a1a6cbe0ef9f5ae5de41ae /main/external/nuget-binary | |
parent | 7722f275f08503cb0468ffde0980fe74336ee1b5 (diff) |
[NuGet] Fix XDT remove transforms failing on Mono.
Source code fix:
https://github.com/mrward/xdt/commit/b2c3b5383d589c3f79650a0cab93f88a8741b057
Running an xml transform using xdt:Transform='Remove' would fail
on Mono with a null reference exception.
The XmlElementContext TargetNode would be null in Mono resulting
in a null reference when the name of the node was logged. This
would only occur if the original xml node existed.
Microsoft.Web.XmlTransform.XmlNodeException: Object reference not set to an instance of an object ---> System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Web.XmlTransform.Remove.RemoveNode ()
at Microsoft.Web.XmlTransform.Remove.Apply ()
at Microsoft.Web.XmlTransform.Transform.ApplyOnce ()
at Microsoft.Web.XmlTransform.Transform.Execute (Microsoft.Web.XmlTransform.XmlElementContext context, System.String argumentString)
--- End of inner exception stack trace ---
at Microsoft.Web.XmlTransform.XmlTransformationLogger.LogErrorFromException (System.Exception ex)
at Microsoft.Web.XmlTransform.Transform.Execute (Microsoft.Web.XmlTransform.XmlElementContext context, System.String argumentString)
at Microsoft.Web.XmlTransform.XmlTransformation.HandleElement (Microsoft.Web.XmlTransform.XmlElementContext context)
Diffstat (limited to 'main/external/nuget-binary')
m--------- | main/external/nuget-binary | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/main/external/nuget-binary b/main/external/nuget-binary -Subproject 5b2cae8778d733df8685718650af0df52c232c7 +Subproject e429d19cb5e9a170dbd821222e2416d7ff3e902 |