Author Topic: .NET 5  (Read 3916 times)

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5324
    • View Profile
    • AdvancedHMI
.NET 5
« 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

bachphi

  • Hero Member
  • *****
  • Posts: 674
    • View Profile
Re: .NET 5
« Reply #1 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.
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================

Godra

  • Hero Member
  • *****
  • Posts: 1449
    • View Profile
Re: .NET 5
« Reply #2 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.

bachphi

  • Hero Member
  • *****
  • Posts: 674
    • View Profile
Re: .NET 5
« Reply #3 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.
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================

v13

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: .NET 5
« Reply #4 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?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5324
    • View Profile
    • AdvancedHMI
Re: .NET 5
« Reply #5 on: April 29, 2021, 06:22:38 PM »
The .NET 5 was put on hold because the WinForm designer was full of bugs.

v13

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: .NET 5
« Reply #6 on: May 01, 2021, 05:54:15 AM »
Thanks for response Archie. You have a great product