Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Fix Robust.Benchmarks failing to build its runner, again#146

Open
ArtisticRoomba wants to merge 1 commit into
Space-Wizards-Federation:masterfrom
ArtisticRoomba:fix-benchmarks
Open

Fix Robust.Benchmarks failing to build its runner, again#146
ArtisticRoomba wants to merge 1 commit into
Space-Wizards-Federation:masterfrom
ArtisticRoomba:fix-benchmarks

Conversation

@ArtisticRoomba

Copy link
Copy Markdown
Member

Back at it again at Krispy Kreme.

Fixes #130

Similar to the last time this happened (technically my last PR that fixed this was only a partial fix), BenchmarkDotNet cannot build its autogenerated runner for some benchmarks due to failing to reference transitive dependencies. This is because we intentionally don't expose them so none of them can accidentally leak to Content.

Because of this we special-case BenchmarkDotNet.Autogenerated and just disable transitive project references. From my admittedly limited understanding of MsBuild the possibility of someone naming their project BenchmarkDotNet.Autogenerated to get past the check isn't a concern as the condition only matters in a RobustToolbox context.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Robust.Benchmarks failing to compile all tests

1 participant