Skip to content

Info about the very useful dotnet script tool

Notifications You must be signed in to change notification settings

TomasHubelbauer/dotnet-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

dotnet script Tool

It is possible to run C# scripts by installing the dotnet-script tool:

dotnet tool install -g dotnet-script

To use it as a REPL, do dotnet script.

To use it to run a CSX file, do dotnet script file.csx.

To reference a NuGet package, add #r "nuget: System.Drawing.Common, 4.5.1".

To load another script into the context of the current one, use #load.

To enable IntelliSense in VS Code, do dotnet script init to get the OmniSharp config and the debugger config.

To-Do

About

Info about the very useful dotnet script tool

Topics

Resources

Stars

Watchers

Forks