Dotnet.Script
2.0.0
dotnet add package Dotnet.Script --version 2.0.0
NuGet\Install-Package Dotnet.Script -Version 2.0.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="Dotnet.Script" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dotnet.Script" Version="2.0.0" />
<PackageReference Include="Dotnet.Script" />
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 Dotnet.Script --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Dotnet.Script, 2.0.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 Dotnet.Script@2.0.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=Dotnet.Script&version=2.0.0
#tool nuget:?package=Dotnet.Script&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dotnet CLI tool allowing you to run C# (CSX) scripts.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Dotnet.Script.Core (>= 2.0.0)
- McMaster.Extensions.CommandLineUtils (>= 4.1.1)
- Microsoft.CodeAnalysis.CSharp (>= 5.0.0-2.final)
- Microsoft.Extensions.Logging.Console (>= 10.0.0)
-
net8.0
- Dotnet.Script.Core (>= 2.0.0)
- McMaster.Extensions.CommandLineUtils (>= 4.1.1)
- Microsoft.CodeAnalysis.CSharp (>= 5.0.0-2.final)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
-
net9.0
- Dotnet.Script.Core (>= 2.0.0)
- McMaster.Extensions.CommandLineUtils (>= 4.1.1)
- Microsoft.CodeAnalysis.CSharp (>= 5.0.0-2.final)
- Microsoft.Extensions.Logging.Console (>= 9.0.0)
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 |
|---|---|---|
| 2.0.0 | 202 | 11/14/2025 |
| 1.6.0 | 347 | 11/13/2024 |
| 1.5.0 | 63,881 | 11/15/2023 |
| 1.4.0 | 6,991 | 11/27/2022 |
| 1.3.1 | 1,063 | 12/3/2021 |
| 1.3.0 | 391 | 11/14/2021 |
| 1.2.1 | 694 | 8/26/2021 |
| 1.2.0 | 545 | 8/25/2021 |
| 1.1.0 | 878 | 5/1/2021 |
| 1.0.1 | 4,454 | 11/10/2020 |
| 0.53.0 | 2,437 | 6/5/2020 |
| 0.52.0 | 1,112 | 4/21/2020 |
| 0.51.0 | 964 | 3/9/2020 |
| 0.50.1 | 3,169 | 10/10/2019 |
| 0.50.0 | 959 | 9/25/2019 |
| 0.30.0 | 1,953 | 6/25/2019 |
| 0.29.1 | 1,585 | 5/14/2019 |
| 0.29.0 | 974 | 5/7/2019 |
| 0.28.0 | 1,651 | 11/13/2018 |
| 0.27.1 | 1,096 | 11/8/2018 |
| 0.27.0 | 1,121 | 11/8/2018 |
| 0.26.1 | 1,247 | 8/23/2018 |
| 0.26.0 | 1,229 | 8/21/2018 |
| 0.25.0 | 1,672 | 5/31/2018 |
| 0.24.0 | 1,678 | 5/7/2018 |
| 0.23.0 | 1,725 | 5/4/2018 |
| 0.22.0 | 1,630 | 4/23/2018 |
| 0.21.0 | 1,582 | 4/17/2018 |
| 0.20.0 | 1,787 | 4/10/2018 |
| 0.19.0 | 1,771 | 3/13/2018 |
| 0.18.0 | 1,661 | 1/18/2018 |
| 0.17.0 | 16,024 | 12/11/2017 |
| 0.16.0 | 1,413 | 11/27/2017 |
| 0.15.0 | 1,425 | 10/27/2017 |
| 0.14.0 | 1,484 | 10/12/2017 |
| 0.13.0-beta | 1,249 | 9/8/2017 |
| 0.12.1-beta | 1,270 | 8/28/2017 |
| 0.12.0-beta | 1,215 | 8/24/2017 |
| 0.11.0-beta | 1,184 | 8/8/2017 |
| 0.10.0-beta | 1,339 | 3/29/2017 |
| 0.9.0-beta | 1,357 | 2/17/2017 |
| 0.8.0-beta | 1,311 | 1/20/2017 |
| 0.7.0-beta | 1,483 | 11/9/2016 |
| 0.6.0-beta | 1,463 | 11/8/2016 |
| 0.5.0-beta | 1,297 | 10/18/2016 |
| 0.4.0-beta | 1,209 | 10/14/2016 |
| 0.3.1-beta | 1,300 | 10/12/2016 |
| 0.3.0-beta | 1,287 | 10/12/2016 |
| 0.2.0-beta | 1,263 | 10/12/2016 |
| 0.1.1-beta | 1,249 | 10/8/2016 |