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

Fix benchmark build errors #82

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Fix benchmark build errors #82

merged 1 commit into from
Nov 17, 2023

Conversation

craigktreasure
Copy link
Owner

The benchmark project itself builds just fine. However, when you attempt to run the benchmarks, the BenchmarkDotNet generated code fails to adhere to my .editorconfig settings and then it throws errors. After more time than I care to admit fighting with it, I have landed on disabling the offending rule for *.notcs files.

[*.notcs] # BenchmarkDotNet generated files

# CS1591: Missing XML comment for publicly visible type or member
dotnet_diagnostic.CS1591.severity = none

The benchmark project itself builds just fine. However, when you attempt to run the benchmarks, the BenchmarkDotNet generated code fails to adhere to my `.editorconfig` settings and then it throws errors. After more time than I care to admit fighting with it, I have landed on disabling the offending rule for `*.notcs` files.

```
[*.notcs] # BenchmarkDotNet generated files

# CS1591: Missing XML comment for publicly visible type or member
dotnet_diagnostic.CS1591.severity = none
```
@craigktreasure craigktreasure enabled auto-merge (squash) November 17, 2023 22:55
@craigktreasure craigktreasure merged commit fc72d42 into main Nov 17, 2023
3 checks passed
@craigktreasure craigktreasure deleted the craig/fix-benchmarks branch November 17, 2023 22:58
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