Skip to content

ModTek Injectors during mod dll compilation #230

Description

@CptMoore

Status:
Experimental version of the feature is running in some CI build already
Waiting for feedback

Write a plugin (see publicizers) for VS/rider/dotnet-cli that run the injectors the same as the ModTrekPreloader. Should allow compiling everything without having to run the game first.

Steps:

  • Move "run injectors" code into own project/library
  • Convert lib to netstandard so it works in msbuild (.NET Framework) and dotnet cli (.NET Core and later)
    • Mono libs -> force netstandard variants?
    • AppDomain isolation -> how?
  • Write a plugin that runs that code from a project
  • Make sure it works with publicizers, needs to run before they start publicizing
  • Make writing injectors able to depend on other injectors and publicized libs
    • link to the assemblies injected variants of the dlls?
  • test if dotnet cli works (bascially linux)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions