Markwardt.ScriptUtilities 0.2.0

dotnet add package Markwardt.ScriptUtilities --version 0.2.0
                    
NuGet\Install-Package Markwardt.ScriptUtilities -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Markwardt.ScriptUtilities" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Markwardt.ScriptUtilities" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Markwardt.ScriptUtilities" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Markwardt.ScriptUtilities --version 0.2.0
                    
#r "nuget: Markwardt.ScriptUtilities, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Markwardt.ScriptUtilities@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Markwardt.ScriptUtilities&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Markwardt.ScriptUtilities&version=0.2.0
                    
Install as a Cake Tool

Script Utilities

NuGet License: MIT Build Coverage

A single static Script class of console-based file, process, and console helpers for single-file C# script programs (dotnet run some-script.cs) - the kind of small ad hoc automation that used to be written in a purpose-built scripting language, now available directly as plain C# method calls.

Installing

dotnet add package Markwardt.ScriptUtilities

Getting started

using Markwardt.ScriptUtilities;

Script.Folder("build");
(await Script.Run("dotnet", "publish", "-c", "Release", "-o", "build")).Verify();
Script.Copy("README.md", "build/README.md");
Script.Log("Build complete.");
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0 85 9/12/2026