We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eb62a0 commit df6bd2fCopy full SHA for df6bd2f
1 file changed
UnturnedRedistUpdateTool/Program.cs
@@ -81,7 +81,7 @@ public static async Task<int> Main(string[] args)
81
Console.WriteLine($"Found Unturned v{version} ({buildId})");
82
83
var doc = XDocument.Load(nuspecFilePath, LoadOptions.PreserveWhitespace);
84
- XNamespace ns = "http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd";
+ var ns = XNamespace.Get("http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd");
85
var versionElement = doc.Root.Element(ns + "metadata").Element(ns + "version");
86
if (versionElement == null)
87
{
0 commit comments