AdvancedHMI Software

General Category => Open Discussion => Topic started by: Archie on November 12, 2020, 07:03:01 AM

Title: .NET 5
Post by: Archie on November 12, 2020, 07:03:01 AM
If you keep your Visual Studio up to date as soon as updates are released, you should now have version 16.8.0
This version now supports the fully released version of .NET 5. The long standing plan has been to convert AdvancedHMI to the latest version when .NET Core and .NET Framework have merged. With .NET 5 this is now the case.

So far I have only spent a few minutes testing out a .NET 5 application on the latest Visual Studio. There seems to be some quirkiness in the WinForm designer, but I suspect it may be because I have some high DPI overrides set on my laptop.

Has anyone else been following the evolution of .NET Core? What are your feelings on AdvancedHMI being ported to it? Since Microsoft has frozen the further development of Visual Basic in favor of C#, there is a possibility of making AdvancedHMI primarily based on C#. Any thought on that?

If you are interested in trying out .NET 5, you first must make sure you have VS version 16.8. When you create a new application, you will see there are now 3 options (.NET Framework, .NET Core, and .NET) It is the .NET that you want to use for the latest. After creating the new application, right click your project in Solution Explorer and select Properties, then check the Framework version to make sure it is on .NET 5
Title: Re: .NET 5
Post by: bachphi on November 12, 2020, 08:34:06 PM
VB seems to be losing the battle.
As I have previously indicated,  C# is normally above my paygrade, let alone C#9,
But on the other hand, one liner like the below is intriguing

Code: [Select]
System.Console.WriteLine("Hello World!");
.NET MAUI multi platform is full of potential.

Other feature like Single file application with no need to install the .NET runtime on the target machine, is welcome change.
Title: Re: .NET 5
Post by: Godra on November 13, 2020, 12:42:41 AM
A while ago, I did bother converting the whole 3.99x solution to C#.

If necessary, I could upload it again.
Title: Re: .NET 5
Post by: bachphi on November 13, 2020, 10:42:21 AM
it wouldnt be a bad idea to target the move after .NET 6 in late 2021.
Apparently, .NET 5 goal was incomplete due to COVID-19.
Title: Re: .NET 5
Post by: v13 on April 28, 2021, 06:03:05 AM
I'm curious if there is any more development on the .net 5 front? if so how to implement it?
Title: Re: .NET 5
Post by: Archie on April 29, 2021, 06:22:38 PM
The .NET 5 was put on hold because the WinForm designer was full of bugs.
Title: Re: .NET 5
Post by: v13 on May 01, 2021, 05:54:15 AM
Thanks for response Archie. You have a great product