ShellLibrary.dll 2.1.0

Suggested Alternatives

Tools.Shell

Additional Details

I make a new package with my studio. The new package can run command more easily.

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package ShellLibrary.dll --version 2.1.0
                    
NuGet\Install-Package ShellLibrary.dll -Version 2.1.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="ShellLibrary.dll" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ShellLibrary.dll" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="ShellLibrary.dll" />
                    
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 ShellLibrary.dll --version 2.1.0
                    
#r "nuget: ShellLibrary.dll, 2.1.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.
#addin nuget:?package=ShellLibrary.dll&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=ShellLibrary.dll&version=2.1.0
                    
Install as a Cake Tool

C# .NET Framework

using ShellLibrary;

namespace CsTest
{
    internal class Program
    {
        private async void Main(string[] args)
        {
            await Task.Run(() =>
            {
                Shell.RunCommand("ipconfig", "2", "false", false, false, false);
            Shell.RunCommand("pause");
            }
        }
    }
}

Visual Basic .NET Framework

Using ShellLibrary

Namespace VbTest
    Public Class Program
        Private Async Sub Main(args As String())
            Await Task.Run(Sub()
                Shell.RunCommand("ipconfig", "2", "False", False, False, False)
            Shell.RunCommand("pause")
            End Sub)
        End Sub
    End Class
End Namespace

F# .NET Framework

open ShellLibrary
open System.Threading.Tasks

type Program() =
    member this.Main(args : string array) =
        let task = async {
            do! Shell.RunCommand("ipconfig", "2", "false", false, false, false) |> Async.AwaitTask
            Shell.RunCommand("pause") |> ignore
        }
        task |> Async.Start
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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