CS2Launcher.AspNetCore.Launcher 1.0.0-rc.0.15

This is a prerelease version of CS2Launcher.AspNetCore.Launcher.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CS2Launcher.AspNetCore.Launcher --version 1.0.0-rc.0.15
NuGet\Install-Package CS2Launcher.AspNetCore.Launcher -Version 1.0.0-rc.0.15
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="CS2Launcher.AspNetCore.Launcher" Version="1.0.0-rc.0.15" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CS2Launcher.AspNetCore.Launcher --version 1.0.0-rc.0.15
#r "nuget: CS2Launcher.AspNetCore.Launcher, 1.0.0-rc.0.15"
#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.
// Install CS2Launcher.AspNetCore.Launcher as a Cake Addin
#addin nuget:?package=CS2Launcher.AspNetCore.Launcher&version=1.0.0-rc.0.15&prerelease

// Install CS2Launcher.AspNetCore.Launcher as a Cake Tool
#tool nuget:?package=CS2Launcher.AspNetCore.Launcher&version=1.0.0-rc.0.15&prerelease

CS2 Launcher

A .NET Generic Host Builder for running CS2 Dedicated Servers.

Getting Started

  • Create a new console project
dotnet new console -n {launcher-name}
  • Update the project to target the Web Sdk
<Project Sdk="Microsoft.NET.Sdk.Web">
    
</Project>
  • Add a reference to CS2Launcher.AspNetCore.Launcher
dotnet add package CS2Launcher.AspNetCore.Launcher
  • Update the Program.cs
using CS2Launcher.AspNetCore.Launcher;

var builder = CS2LauncherApplication.CreateBuilder( args );

await using var app = builder.Build();
await app.RunAsync();
  • Update the Server configuration
{
    "Server": {
        "ProcessPriority": "Normal",
        "Program": "C:\\SteamLibrary\\steamapps\\common\\Counter-Strike Global Offensive\\game\\bin\\win64\\cs2.exe",
        "RconPassword": "test",
        "RedirectOutput": "false",
        "WorkshopMapIds": [3070280193]
    }
}

Need a proper example? Checkout the sample project.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.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
1.0.0-rc.0.22 44 4/28/2024
1.0.0-rc.0.21 41 4/27/2024
1.0.0-rc.0.20 43 4/27/2024
1.0.0-rc.0.19 41 4/27/2024
1.0.0-rc.0.15 58 4/11/2024
1.0.0-rc.0.14 60 3/20/2024
1.0.0-rc.0.13 45 3/12/2024
1.0.0-rc.0.12 49 3/4/2024
1.0.0-rc.0.10 58 2/16/2024
1.0.0-rc.0.8 51 2/16/2024