SSWConsulting / SSW.Rules.GPT

SSW RulesGPT - a bot using Blazor WASM & an ASP.NET Core backend, powered by the amazing OpenAI API
https://rulesgpt.ssw.com.au
20 stars 6 forks source link

♻️ Resolve build warnings #124

Open jackreimers opened 1 year ago

jackreimers commented 1 year ago

Cc:

Hi

Pain

When the project is built there are a lot of warnings.

Acceptance Criteria

There should be no warnings when the project builds.

Screenshots

image Figure: Warnings when building RulesGPT

Thanks!

### Tasks
- [ ] Resolve warnings.
- [ ] Turn on warnings as errors
bradystroud commented 1 year ago

Maybe you should turn on warnings as errors https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/errors-warnings#treatwarningsaserrors

Do we have a rule on this?

jackreimers commented 1 year ago

I couldn't find any rule on the topic. I'll add a task to this issue to turn on warnings as errors