PJB
June 21, 2025, 10:26pm
1
master
← Tayrtahn:tools/duplicate-dependency-errors
opened 04:28PM - 21 Jun 25 UTC
## About the PR
Adjusts build settings so that `RA0032 (Duplicate [Dependency… ])` warnings are considered errors.
## Why / Balance
These warnings keep sneaking back in (https://github.com/space-wizards/space-station-14/pull/38099, https://github.com/space-wizards/space-station-14/pull/38360, https://github.com/space-wizards/space-station-14/pull/38473) and it's tedious having to keep doing cleanup. Making it an error will cause builds with violations to fail, which will make it much more obvious and stop these getting merged.
## Technical details
Added `RA0032` to the `WarningsAsErrors` properties of the project files for Server, Client, Shared, and Replay.
Removed the command line parameters in the GitHub workflow files that override the project files.
## Requirements
- [X] I have read and am following the [Pull Request and Changelog Guidelines](https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html).
- [X] I have added media to this PR or it does not require an ingame showcase.
## Breaking changes
Having two `[Dependency]` members of the same Type in a class is now treated as an error rather than just a warning. If you have violations in your code, clean them up by removing the redundant members.
Having two [Dependency]
members of the same Type in a class is now treated as an error rather than just a warning. If you have violations in your code, clean them up by removing the redundant members.