Fixed export async

This commit is contained in:
Frederik Jacobsen 2025-10-18 23:48:19 +02:00
parent 955c1db93d
commit ba960e9a64

View File

@ -337,7 +337,8 @@ public partial class LeftTreeView : UserControl
Indent = true, Indent = true,
OmitXmlDeclaration = false, OmitXmlDeclaration = false,
Encoding = Encoding.UTF8, Encoding = Encoding.UTF8,
NewLineOnAttributes = false NewLineOnAttributes = false,
Async = false
}; };
var sb = new StringBuilder(); var sb = new StringBuilder();
@ -357,7 +358,8 @@ public partial class LeftTreeView : UserControl
Indent = true, Indent = true,
OmitXmlDeclaration = false, OmitXmlDeclaration = false,
Encoding = new UTF8Encoding(false), Encoding = new UTF8Encoding(false),
NewLineOnAttributes = false NewLineOnAttributes = false,
Async = true
}; };
await using var fs = File.Create(path); await using var fs = File.Create(path);