Skip to content

bismuth-dev/RebornBuddy.Assemblies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Download

RebornBuddy.Assemblies is a NuGet package release of key Reborn Buddy assemblies, stripped of their code to function only as reference assemblies. This simplifies third party development and automated builds by allowing the use of package managers instead of committing complete (and probably outdated) assemblies directly to repo.

These assemblies have been stripped of their code, leaving only the API behind -- they cannot be executed. This project is only for third party developer convenience, not end users. Please support the official release on the Reborn Buddy website.

Usage via NuGet

RebornBuddy.Assemblies is available via traditional NuGet.org -- just search for RebornBuddy.Assemblies in your package manager, or run the following command in your project directory:

dotnet add package RebornBuddy.Assemblies

Usage via GitHub Packages

To use this package,

  1. Enable the custom GitHub Packages source.
  2. Install the package for your project.

Enabling Package Source

GitHub Packages requires authentication, even for read-only access to public packages. Instead of using your GitHub password, NuGet can accept and encrypt a read-only token for security purposes.

On GitHub,

  1. Visit then Personal Access Tokens page.
  2. Click "Generate New Token" in the top right.
  3. Set Note to "GitHub Packages Read-Only"
  4. Select scopes:
    • repo
    • read:packages

Scopes

  1. Click "Generate Token" at the bottom.
  2. Copy the new token.

In Visual Studio,

  1. Open Tools > NuGet Package Manager > Package Manager Console
  2. In the PM Console, run the following command after editing username and password:
dotnet nuget add source "https://nuget.pkg.github.com/bismuth-dev/index.json" --name "GitHub/bismuth-dev" --username "GITHUB_USER_HERE" --password "GITHUB_TOKEN_HERE"

Installing the Package

In Visual Studio,

  1. Open Tools > NuGet Package Manager > Package Manager Console
  2. In the PM Console, run the following command after editing the project name:
Install-Package "RebornBuddy.Assemblies" -Source "GitHub/bismuth-dev" -Project "YOUR_PROJECT_HERE"

To prevent the reference assemblies from being unnecessarily copied to the output folder on build,

  1. In the Solution Explorer, browse to the project's references.
  2. Set Copy Local: False for these references:
    • GreyMagic
    • RebornBuddy

Reborn Buddy will locate and load the full versions on its own. Nothing from this package needs to be distributed with your addon.

About

Stripped reference assemblies for RebornBuddy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages