BepInEx icon indicating copy to clipboard operation
BepInEx copied to clipboard

Attribute to specify old GUID to make switching GUIDs easier

Open ManlyMarco opened this issue 3 years ago • 0 comments

Describe your problem

At the moment if you want to switch to using a different plugin GUID, the only option is to use BepInIncompatibility but it will only prevent the new version of the plugin from loading if old version is present. Plugins that use BepInDependency attributes will not work since they are looking for the old GUID until they get updated.

Proposed solution

A new attribute, something like BepInObsoletes(GUID). It would take the old GUID and make it so that both the new and old GUIDs are interchangeable (so newer version gets loaded and BepInDependency attributes work).

Alternatives

No response

ManlyMarco avatar Jul 30 '22 15:07 ManlyMarco