Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Name and Version const and use them in the plugin attribute #2

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

ManlyMarco
Copy link
Member

@ManlyMarco ManlyMarco commented Jan 20, 2024

static string isn't very useful for the Version, it should be a const so that it can be used in BepInDependency attributes to automatically lock to the version of the nuget package used.

Additionally these consts can be used inside Assembly attributes for version and such, so that version is only specified in a single place.

@ManlyMarco ManlyMarco merged commit 979ff6b into master Feb 20, 2024
2 checks passed
@ManlyMarco ManlyMarco deleted the ManlyMarco-patch-1 branch February 20, 2024 17:27
js6pak added a commit that referenced this pull request Feb 20, 2024
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.

1 participant