Fixed export async
This commit is contained in:
parent
955c1db93d
commit
ba960e9a64
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user