File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed
PackedTables.Viewer.Winforms/PackedTables.Viewer Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -398,3 +398,5 @@ FodyWeavers.xsd
398398
399399# JetBrains Rider
400400* .sln.iml
401+
402+ * .pktbs
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ private void ReloadComboBox() {
4545 var RecentlyUsedTable = _settingsPack . RecentlyUsed ;
4646 int selectedIndex = - 1 ;
4747 RecentlyUsedTable . Rows . OrderByDescending ( r => r . Value [ "LastUsed" ] . Value ) . ToList ( ) . ForEach ( row => {
48- if ( row . Value [ "FileName" ] . Value == _fileName ) {
48+ if ( row . Value [ "FileName" ] . ValueString == _fileName ) {
4949 selectedIndex = comboBox1 . Items . Add ( row . Value [ "FileName" ] . Value ) ;
5050 } else {
5151 comboBox1 . Items . Add ( row . Value [ "FileName" ] . Value ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public static class FilesExt {
1313 /// <returns></returns>
1414 public static async Task < string > ReadAllTextAsync ( this string filePath ) {
1515 using var streamReader = new StreamReader ( filePath ) ;
16- return await streamReader . ReadToEndAsync ( ) ;
16+ return await streamReader . ReadToEndAsync ( ) . ConfigureAwait ( false ) ;
1717 }
1818
1919 /// <summary>
@@ -24,7 +24,7 @@ public static async Task<string> ReadAllTextAsync(this string filePath) {
2424 /// <returns></returns>
2525 public static async Task < int > WriteAllTextAsync ( this string Content , string fileName ) {
2626 using var streamWriter = new StreamWriter ( fileName ) ;
27- await streamWriter . WriteAsync ( Content ) ;
27+ await streamWriter . WriteAsync ( Content ) . ConfigureAwait ( false ) ;
2828 return 1 ;
2929 }
3030 }
Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ public async Task LoadFromFileAsync(string fileName) {
7171 if ( File . Exists ( fileName ) ) {
7272 this . _fileName = fileName ;
7373 _modified = false ;
74- var encoded = await File . ReadAllTextAsync ( fileName ) ; // Direct async, no Task.Run needed
74+ var encoded = await File . ReadAllTextAsync ( fileName ) . ConfigureAwait ( false ) ; // Direct async, no Task.Run needed
7575 LoadFromBase64String ( encoded ) ;
7676 }
7777 }
7878
7979 public async Task SaveToFileAsync ( string fileName ) {
8080 var base64 = SaveToBase64String ( ) ;
81- await File . WriteAllTextAsync ( fileName , base64 ) ; // Direct async
81+ await File . WriteAllTextAsync ( fileName , base64 ) . ConfigureAwait ( false ) ; // Direct async
8282 _modified = false ;
8383 }
8484
Original file line number Diff line number Diff line change 1111 <PackageProjectUrl >https://github.com/mmeents/PackedTables.NET</PackageProjectUrl >
1212 <PackageTags >MessagePack Tables</PackageTags >
1313 <PackageLicenseFile >LICENSE</PackageLicenseFile >
14- <Version >1.1.6 </Version >
14+ <Version >1.1.7 </Version >
1515 <Title >PackedTables.NET</Title >
1616 <Authors >$(AssemblyName)</Authors >
1717 <Copyright > Copyright © 2025 MattMeents</Copyright >
You can’t perform that action at this time.
0 commit comments