dotnet-script 1.5 is out with .NET 8.0 support

Β· 308 words Β· 2 minutes to read

This morning, we released version 1.5 of dotnet-script. The latest release introduces support for .NET 8.0 and C# 12 and is available, as usually, through Github releases and on Nuget. You will need to have at least the .NET SDK 8.0.100 installed to take advantage of that feature set.

Release overview πŸ”—

In a way, this is almost a zero-day release, because .NET 8 was only released yesterday - we wanted to make sure .NET 8.0 can be enjoyed in the scripted environment by dotnet-script users as quickly as possible.

Aside from supporting .NET 8.0 and C# 12, the release contains a usual set of bug fixes and small improvements, which are documented in the release notes. Both .NET 7.0 and .NET 6.0 are still supported, and dotnet-script is still being cross compiled for those versions. We plan to keep it that way until we reach Microsoft’s official end of life dates for both of these frameworks, which will be in May and November 2024, respectively.

The installation command is the same as always – you can get ahold of dotnet-script by running the dotnet tool installation:

dotnet tool install dotnet-script -g

For existing users, the update command is relevant:

dotnet tool update dotnet-script -g

If, after the upgrade, you are running into troubles with existing scripting due to script caching issues, make sure to try running the script with with -–no-cache flag.

Language server support πŸ”—

The accompanying language server features in OmniSharp have also been updated accordingly, however, they have not been merged or released yet. As soon as this PR is merged, the easiest way to ensure you do not lose intellisense and other editor features is to set:

"omnisharp.path":"latest"

in your VS Code settings. This will download the latest available pre-release build of OmniSharp. This will no longer be needed after the next release of OmniSharp.

About


Hi! I'm Filip W., a software architect from ZΓΌrich πŸ‡¨πŸ‡­. I like Toronto Maple Leafs πŸ‡¨πŸ‡¦, Rancid and quantum computing. Oh, and I love the Lowlands 🏴󠁧󠁒󠁳󠁣󠁴󠁿.

You can find me on Github, on Mastodon and on Bluesky.

My Introduction to Quantum Computing with Q# and QDK book
Microsoft MVP