BepInEx
BepInEx copied to clipboard
Attribute to specify old GUID to make switching GUIDs easier
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