NickCraver / StackExchange.Exceptional

Error handler used for the Stack Exchange network
https://nickcraver.com/StackExchange.Exceptional/
Apache License 2.0
863 stars 170 forks source link

dotnet 3.1 support #180

Closed DerHulk closed 4 years ago

DerHulk commented 4 years ago

It looks like that Exceptional does not support out of the box dotnet Core 3.1 in the nuget version 2.1. The extension methodes services.AddExceptional(); and app.UseExceptional(); are not available.

NickCraver commented 4 years ago

This should work (we've been using it at Stack Overflow), are you including the Microsoft.Extensions.DependencyInjection namespace? e.g.

using Microsoft.Extensions.DependencyInjection;
DerHulk commented 4 years ago

Sorry my fault, i have taken the wrong Nuget.Package. I have taken 'StackExchange.Exceptional' instead of 'StackExchange.Exceptional.AspNetCore'.