On .Net fx, the PackageProperties elements have xml special chars
escaped. On Mono, they do not get escaped. mono/mono#21227
In the process of reading the nuspec metadata, escaped chars like "<"
get converted back into what they represent, for example "<". This is
not an issue on Windows, but is it an issue on Mono.
This manually escapes xml special chars from the PackageProperties
strings. The id and version are not escaped, as they cannot contain xml
special chars in the first place.
On .Net fx, the PackageProperties elements have xml special chars escaped. On Mono, they do not get escaped. mono/mono#21227
In the process of reading the nuspec metadata, escaped chars like "<" get converted back into what they represent, for example "<". This is not an issue on Windows, but is it an issue on Mono.
This manually escapes xml special chars from the PackageProperties strings. The id and version are not escaped, as they cannot contain xml special chars in the first place.
Fixes #27
How this PR was tested:
dust
package on both to validate that it will build on windows and fail on linuxdust
package on windows with the artifact from the previous step to validate that it still works.dust
package on linux with the artifact from the previous step to validate that this pr fixes the issue on Linux<
to each of thetitle
,authors
, andtags
elements in thedust.nuspec
on the Linux system