emoacht / SnowyImageCopy

A Windows desktop app to copy images from FlashAir by a wireless connection
https://www.microsoft.com/store/apps/9MTLPNGRW85L
MIT License
32 stars 14 forks source link

Migration to .NET 6.0 #75

Open emoacht opened 2 years ago

emoacht commented 2 years ago

To assure longer application life cycle, I decided to migate this app to .NET 6.0, the latest platform which will be supported until 2024. The downsides are:

Edit: I found that the separate installation of .NET 6.0 runtime is not required when Deployment mode is set to Self-contained.

dentphoto commented 2 years ago

After running Snowy plus 3.0.0, press the Auto checking button. Snowy crashes with an error message after a few seconds. Snowy normal 3.0.0 is also the same.

Please confirm.

emoacht commented 2 years ago

Thanks for the report as always. Could you share the exception information?

dentphoto commented 2 years ago

Here is log file. exception.log . In the same environment, Snowy 1.9.0 has no problem.

emoacht commented 2 years ago

Thanks for the log. It seems that the exception when the connection is unable has been changed. Fixed by c41a12a8ac6fc049cb839967d38f2c5810da7249

emoacht commented 2 years ago

It is observed that accessing FlashAir on .NET 6.0 suffers noticeable slow responces (e.g. around 1 second per access). See #77 I could not find a similar issue about HttpClient on .NET 6.0 and it is unlikely solved easily. Therefore, I decided to release both .NET 6.0 and .NET Framework 4.8 versions for the time being.

dentphoto commented 2 years ago

[card scan speed] Snowy plus3.1.1 Net48 = Snowy 3.1.0 Net48 >> Snowy 3.1.0 Net60 .Net60 and Snowy compatibility is definitely a problem.

dentphoto commented 2 years ago

Standard 3.1.0 is ok, but plus 3.1.1 sometimes gives errors while scanning.

plus 3.1.1 exception.log

plus exception.log

exception.log

plus 3 1 1 error

emoacht commented 2 years ago

Thanks for the report. Unfortunately I am having a trouble with uploading updated package to Store.

emoacht commented 2 years ago

Released minor update version.

dentphoto commented 2 years ago

Thanks for the quick action. Snowy plus 3.2.0Net48 & Snowy 3.2.0Net48 Both work very well.