Skip to content

Revert "Create a new Assembly Attribute for an easy Soft Dependency"#64

Merged
MaxWasUnavailable merged 1 commit into
masterfrom
revert-56-assembly-attribute
Mar 22, 2024
Merged

Revert "Create a new Assembly Attribute for an easy Soft Dependency"#64
MaxWasUnavailable merged 1 commit into
masterfrom
revert-56-assembly-attribute

Conversation

@Xilophor
Copy link
Copy Markdown
Collaborator

Reverts #56

Due to NGO using Assembly.GetCustomAttributes(Type, bool) and a potential flaw(?) in that method, it loads all attributes of the assembly, including the SoftLobbyCompatibility attribute, which may not have an assembly to reference (soft dependency).

This causes an error to occur when running that method, preventing NGO from working. The only available solution without potential side-effects is to just go back to using the Register method previously/currently provided.

@MaxWasUnavailable MaxWasUnavailable merged commit ced9f60 into master Mar 22, 2024
@MaxWasUnavailable MaxWasUnavailable deleted the revert-56-assembly-attribute branch March 22, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants