CS2Launcher.AspNetCore.Launcher
1.0.0-rc.0.56
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.
See the version list below for details.
dotnet add package CS2Launcher.AspNetCore.Launcher --version 1.0.0-rc.0.56
NuGet\Install-Package CS2Launcher.AspNetCore.Launcher -Version 1.0.0-rc.0.56
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.56" />
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.56
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CS2Launcher.AspNetCore.Launcher, 1.0.0-rc.0.56"
#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.56&prerelease // Install CS2Launcher.AspNetCore.Launcher as a Cake Tool #tool nuget:?package=CS2Launcher.AspNetCore.Launcher&version=1.0.0-rc.0.56&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- AspNet.Security.OpenId.Steam (>= 8.0.0)
- AspNetCore.HealthChecks.ApplicationStatus (>= 8.0.1)
- CS2Launcher.AspNetCore.App (>= 1.0.0-rc.0.56)
- Microsoft.AspNetCore.Components.WebAssembly.Server (>= 8.0.10)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.IO.Pipelines (>= 8.0.0)
-
net9.0
- AspNet.Security.OpenId.Steam (>= 9.0.0-rc.2.24509.43)
- AspNetCore.HealthChecks.ApplicationStatus (>= 8.0.1)
- CS2Launcher.AspNetCore.App (>= 1.0.0-rc.0.56)
- Microsoft.AspNetCore.Components.WebAssembly.Server (>= 9.0.0-rc.2.24474.3)
- System.Diagnostics.DiagnosticSource (>= 9.0.0-rc.2.24473.5)
- System.IO.Pipelines (>= 9.0.0-rc.2.24473.5)
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.64 | 44 | 11/17/2024 |
1.0.0-rc.0.62 | 32 | 11/13/2024 |
1.0.0-rc.0.61 | 47 | 11/13/2024 |
1.0.0-rc.0.60 | 42 | 11/13/2024 |
1.0.0-rc.0.59 | 41 | 11/6/2024 |
1.0.0-rc.0.58 | 74 | 10/20/2024 |
1.0.0-rc.0.57 | 59 | 10/12/2024 |
1.0.0-rc.0.56 | 48 | 10/11/2024 |
1.0.0-rc.0.55 | 44 | 10/9/2024 |
1.0.0-rc.0.54 | 44 | 10/7/2024 |
1.0.0-rc.0.52 | 42 | 10/7/2024 |
1.0.0-rc.0.51 | 50 | 10/2/2024 |
1.0.0-rc.0.50 | 52 | 9/24/2024 |
1.0.0-rc.0.49 | 46 | 9/22/2024 |
1.0.0-rc.0.48 | 53 | 9/19/2024 |
1.0.0-rc.0.47 | 54 | 9/11/2024 |
1.0.0-rc.0.45 | 56 | 9/5/2024 |
1.0.0-rc.0.44 | 53 | 9/4/2024 |
1.0.0-rc.0.43 | 47 | 9/2/2024 |
1.0.0-rc.0.41 | 59 | 8/27/2024 |
1.0.0-rc.0.40 | 75 | 8/19/2024 |
1.0.0-rc.0.39 | 63 | 8/19/2024 |
1.0.0-rc.0.38 | 70 | 8/13/2024 |
1.0.0-rc.0.37 | 50 | 8/2/2024 |
1.0.0-rc.0.36 | 59 | 7/18/2024 |
1.0.0-rc.0.35 | 40 | 7/9/2024 |
1.0.0-rc.0.33 | 62 | 6/11/2024 |
1.0.0-rc.0.32 | 55 | 6/11/2024 |
1.0.0-rc.0.31 | 60 | 6/6/2024 |
1.0.0-rc.0.29 | 62 | 5/29/2024 |
1.0.0-rc.0.27 | 69 | 5/22/2024 |
1.0.0-rc.0.24 | 64 | 5/14/2024 |
1.0.0-rc.0.22 | 82 | 4/28/2024 |
1.0.0-rc.0.21 | 60 | 4/27/2024 |
1.0.0-rc.0.20 | 61 | 4/27/2024 |
1.0.0-rc.0.19 | 62 | 4/27/2024 |
1.0.0-rc.0.15 | 77 | 4/11/2024 |
1.0.0-rc.0.14 | 75 | 3/20/2024 |
1.0.0-rc.0.13 | 57 | 3/12/2024 |
1.0.0-rc.0.12 | 64 | 3/4/2024 |
1.0.0-rc.0.10 | 71 | 2/16/2024 |
1.0.0-rc.0.8 | 62 | 2/16/2024 |