How to switch to using .NET 6.0 with 18.2 on Linux

The Dyalog "Knowledgebase". This forum is read-only
Forum rules
The FAQ is a read-only forum which is in general updated only by employees of Dyalog Ltd. It replaces the FAQ page which existed under http://www.dyalog.com. Rather than rejecting other posts to this forum, such posts will be put in a moderation queue, and moved to a more appropriate forum.

How to switch to using .NET 6.0 with 18.2 on Linux

Postby Vince|Dyalog on Tue Aug 16, 2022 9:40 am

by JohnD|Dyalog on Fri Aug 05, 2022 3:56 pm in this thread "SUPPORT FOR MICROSOFT .NET 6.0" https://forums.dyalog.com/viewtopic.php?f=20&t=1858

We will be supporting .NET 6.0 "out of the box" with the next version of Dyalog, 19.0 (I cannot say yet when that will be available).

Until then it should be possible to move to .NET 6.0 by making minor changes to some of Dyalog's configuration files. We cannot formally support this route, but I don't think there will be any problems.

In the dyalog installation you will see files called:

Dyalog.Net.Bridge.deps.json
Dyalog.Net.Bridge.runtimeconfig.json

Each of these files contains version strings which will include the fragment "3.1". Change those "3.1"s to "6.0"s and you should be good to go.

The following are the changes I made:

Dyalog.Net.Bridge.deps.json: "name": ".NETCoreApp,Version=v6.0",
Dyalog.Net.Bridge.deps.json: ".NETCoreApp,Version=v6.0": {
Dyalog.Net.Bridge.runtimeconfig.json: "tfm": "netcoreapp6.0",
Dyalog.Net.Bridge.runtimeconfig.json: "version": "6.0.0"


Best Regards
John Daintree.
Vince|Dyalog
 
Posts: 406
Joined: Wed Oct 01, 2008 9:39 am

Re: How to switch to using .NET 6.0 with 18.2 on Linux

Postby Vince|Dyalog on Mon Nov 27, 2023 11:18 am

Update November 2023:

19.0 will support .NET 8 out of the box.

Regards,

Vince
Vince|Dyalog
 
Posts: 406
Joined: Wed Oct 01, 2008 9:39 am


Return to Frequently Asked Questions (FAQ)

Who is online

Users browsing this forum: No registered users and 1 guest