Linkoid.LethalCompany.Common.Build
1.0.0
See the version list below for details.
dotnet add package Linkoid.LethalCompany.Common.Build --version 1.0.0
NuGet\Install-Package Linkoid.LethalCompany.Common.Build -Version 1.0.0
<PackageReference Include="Linkoid.LethalCompany.Common.Build" Version="1.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Linkoid.LethalCompany.Common.Build --version 1.0.0
#r "nuget: Linkoid.LethalCompany.Common.Build, 1.0.0"
// Install Linkoid.LethalCompany.Common.Build as a Cake Addin #addin nuget:?package=Linkoid.LethalCompany.Common.Build&version=1.0.0 // Install Linkoid.LethalCompany.Common.Build as a Cake Tool #tool nuget:?package=Linkoid.LethalCompany.Common.Build&version=1.0.0
Lethal Company Common Build SDK
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>
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.