Start Debugging

Tag: dotnet-script

2 posts

2023-08-29 dotnet-scriptdotnet
How to install dotnet script
dotnet script enables you to run C# scripts (.CSX) from the .NET CLI. The only requirement is to have .NET 6 or newer installed on your machine. You can use the following command to install dotnet-script globally: Then to execute a script file you simply call dotnet script <file_path> like in the example below: How…
2023-06-12 dotnet-script
How to pass arguments to a dotnet script
Learn how to pass arguments to a dotnet script using the -- separator and access them via the Args collection.