Linkoid.Repo.Common.Build
0.2.2
dotnet add package Linkoid.Repo.Common.Build --version 0.2.2
NuGet\Install-Package Linkoid.Repo.Common.Build -Version 0.2.2
<PackageReference Include="Linkoid.Repo.Common.Build" Version="0.2.2" />
<PackageVersion Include="Linkoid.Repo.Common.Build" Version="0.2.2" />
<PackageReference Include="Linkoid.Repo.Common.Build" />
paket add Linkoid.Repo.Common.Build --version 0.2.2
#r "nuget: Linkoid.Repo.Common.Build, 0.2.2"
#addin nuget:?package=Linkoid.Repo.Common.Build&version=0.2.2
#tool nuget:?package=Linkoid.Repo.Common.Build&version=0.2.2
R.E.P.O. Common Build SDK
Provides minimal MSBuild properties for finding a R.E.P.O. installation on the local machine and other misc. targets.
To use this package, add a package reference to the project:
<PackageReference Include="Linkoid.Repo.Common.Build" Version="*" PrivateAssets="all" />
MSBuild Properties
$(GameDirectory)
: The path to the local installation of R.E.P.O.$(BepInExDirectory)
: The path to the BepInEx directory inside R.E.P.O.- See the source code on github for more properties that are available to targets.
Directory Repo Props & Targets Files
Whenever this package is used, it automatically loads the first
Directory.Repo.props
and Directory.Repo.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 R.E.P.O. can be found automatically, it can be overriden
to use a special version/installation of the game.
Another good use case is to specify the profile folder used for mod testing, and specifying launch arguments to run the game with the correct mod profile.
Here is an example Directory.Repo.props
file:
<Project>
<PropertyGroup>
<GameDirectory>C:\Path\To\REPO\</GameDirectory>
<GaleProfileName>Default</GaleProfileName>
<BepInExDirectory>$(AppData)\com.kesomannen.gale\repo\profiles\$(GaleProfileName)\BepInEx</BepInExDirectory>
<StartArguments>--doorstop-enable true --doorstop-target "$(AppData)\com.kesomannen.gale\repo\profiles\$(GaleProfileName)\BepInEx\core\BepInEx.Preloader.dll" --gale-profile "$(GaleProfileName)"</StartArguments>
</PropertyGroup>
</Project>
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Linkoid.Repo.Common.Build:
Package | Downloads |
---|---|
Linkoid.Repo.Plugin.Build
Provides MSBuild properties and targets for building and running a R.E.P.O. plugin. |
GitHub repositories
This package is not used by any popular GitHub repositories.