Linkoid.LethalCompany.Common.Build 1.0.3

dotnet add package Linkoid.LethalCompany.Common.Build --version 1.0.3                
NuGet\Install-Package Linkoid.LethalCompany.Common.Build -Version 1.0.3                
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="Linkoid.LethalCompany.Common.Build" Version="1.0.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Linkoid.LethalCompany.Common.Build --version 1.0.3                
#r "nuget: Linkoid.LethalCompany.Common.Build, 1.0.3"                
#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 Linkoid.LethalCompany.Common.Build as a Cake Addin
#addin nuget:?package=Linkoid.LethalCompany.Common.Build&version=1.0.3

// Install Linkoid.LethalCompany.Common.Build as a Cake Tool
#tool nuget:?package=Linkoid.LethalCompany.Common.Build&version=1.0.3                

Lethal Company Common Build SDK

GitHub Stars License

Lethal Company Modding dotnet MSBuild

Provides minimal MSBuild properties for finding a Lethal Company installation on the local machine and other misc. targets.

To use this package, add a package reference to the project:

<PackageReference Include="Linkoid.LethalCompany.Common.Build" Version="*" PrivateAssets="all" />

MSBuild Properties

  • $(GameDirectory): The path to the local installation of Lethal Company
  • $(BepInExDirectory): The path to the BepInEx directory inside Lethal Company
  • See the source code on github for more properties that are available to targets.

Directory LethalCompany Props & Targets Files

Whenever this package is used, it automatically loads the first Directory.LethalCompany.props and Directory.LethalCompany.targets files that are found in any of the directories above the project. This can be used to manually specify a custom game directory for a project/all projects in a directory and it's subdirectories. Even if lethal company can be found automatically, it can be overriden to use a special version/installation of the game.

Here is an example Directory.LethalCompany.props file:

<Project>
  <PropertyGroup>
    <GameDirectory>C:\Path\To\Lethal Company\</GameDirectory>
  </PropertyGroup>
</Project>
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Linkoid.LethalCompany.Common.Build:

Package Downloads
Linkoid.LethalCompany.Plugin.Build

Provides MSBuild properties and targets for building and running a Lethal Company plugin.

Linkoid.LethalCompany.Test.Build

Provides MSBuild properties and targets for building and running a Lethal Company plugin.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 146 9/23/2024
1.0.2 144 9/22/2024
1.0.0 165 9/21/2024