Yesterday we released version 0.20.0 of dotnet-script - a command line tool that allows you to run C# scripts (.csx) in the .NET Core runtime.
The highlight of this release is that it is now avaialble as .NET Core SDK 2.1 global tool, which provides an excellent acquisition/installation story directly from nuget.
Using dotnet-script as global tool 🔗
In order to take advantage of the global tool funcitonality in .NET SDK you must be at least on version .NET Core SDK 2.1.300-preview1.
Once that’s available on your machine, you can install dotnet-script:
After installation completes (it would pull the package from Nuget), you can start using it straight away (no need to restart the terminal):
or
dotnet script <args>
The nice thing about this, is that it is a truly cross platform installation flow too, which means you will no longer have to bootstrap differently for Windows and for Unix systems.
Of course if you want to learn more about dotnet-script, or would like to help with development, please visit us on Github.
Happy C# scripting!
About
Hi! I'm Filip W., a cloud architect from Zürich 🇨🇭. I like Toronto Maple Leafs 🇨🇦, Rancid and quantum computing. Oh, and I love the Lowlands 🏴.
Recent Posts
- 2024/03/08, Combining Azure OpenAI with Azure AI Speech
- 2024/02/23, Using your own data with GPT models in Azure OpenAI - Part 4: Adding vector search
- 2024/01/31, Running Swift Package tests in Azure DevOps
- 2024/01/26, Upgrading Q# book samples to QDK 1.0
- 2023/12/18, Using your own data with GPT models in Azure OpenAI - Part 3: Calling Azure OpenAI Service via .NET SDK
Categories
- ai (7)
- ai-search (4)
- apache-cordova (1)
- asp.net-5 (17)
- asp.net-core (45)
- asp.net-mvc (35)
- asp.net-mvc-6 (7)
- asp.net-vnext (6)
- asp.net-web-api (96)
- astronomy (1)
- azure (17)
- azure-devops (1)
- azure-service-bus (1)
- benchmark-dotnet (1)
- bing-maps (1)
- blazor (1)
- c-plus (2)
- c-sharp (154)
- cryptography (3)
- csharp (2)
- csharp-10 (2)
- dnx (3)
- dotnet-cli (2)
- dotnet-script (11)
- duende (2)
- editorconfig (1)
- entity-framework (2)
- espn-api (2)
- events (1)
- ffi (3)
- fsharp (1)
- git (1)
- glimpse (1)
- html5 (4)
- identity-server (2)
- iis (2)
- il (1)
- intro-to-qc (19)
- ios (2)
- javascript (9)
- jquery (4)
- jquery-mobile-metro (1)
- katana (2)
- kindle (1)
- knockout.js (8)
- last.fm-api (2)
- linq (1)
- mac (2)
- macos (1)
- mathematica (1)
- msbuild (3)
- mvc-core (3)
- nancy (2)
- native (1)
- net (141)
- net-5 (3)
- net-6 (5)
- net-7 (7)
- net-8 (3)
- net-core (49)
- net-sdk (2)
- ninject (2)
- odata (4)
- oidc (2)
- omnisharp (13)
- openai (7)
- osx (2)
- owin (5)
- php (1)
- q-sharp (33)
- qir (2)
- quantum-computing (36)
- roslyn (30)
- rust (2)
- scriptcs (11)
- scripting (9)
- security (6)
- servicestack (2)
- signalr (7)
- swift (4)
- testing (5)
- twitter-boostrap (1)
- typescript (1)
- visual-studio (4)
- visual-studio-code (11)
- wasi (3)
- wasm (3)
- windows-phone-7 (1)
- wordpress (1)
- wpf (2)