We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b2be5 commit 794ec64Copy full SHA for 794ec64
UnturnedRedistUpdateTool/Program.cs
@@ -84,7 +84,7 @@ public static async Task<int> Main(string[] args)
84
85
Console.WriteLine($"Found Unturned v{version} ({buildId})");
86
87
- var doc = XDocument.Load(nuspecFilePath);
+ var doc = XDocument.Load(nuspecFilePath, LoadOptions.PreserveWhitespace);
88
XNamespace ns = "http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd";
89
var versionElement = doc.Root.Element(ns + "metadata").Element(ns + "version");
90
if (versionElement != null)
0 commit comments