This repository was archived by the owner on Nov 2, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 314
AddSingleton is swallowing exceptions silently #401
Labels
Comments
Could be related to aspnet/Hosting#695 |
Dup of aspnet/Tooling#363. |
@pranavkm Can you give more details? That bug was labeled "fixed" nearly two months ago yet I'm experiencing this will the latest dotnet builds. |
@colemickens repro? |
colemickens
added a commit
to colemickens/cli-samples
that referenced
this issue
Apr 18, 2016
This commit shows what I'm seeing at least, on top of the colemickens/cli-samples@cd71527
So, it gets to ConfigureServices and complains there's no |
David got me sorted out in Jabbr. I'm still seeing this because I'm using the ci release nuget feed. Thanks all. |
AFAICT this is still happening... |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
configureRedis() is throwing an exception. I know because I catch it, print the exception and then rethrow it. It seems that AddSingleton or something down the stack is swallowing the exception. As a user, I didn't know until I was informed that
Could not resolve a service of type 'StackExchange.Redis.IDatabase' for the parameter....
.Not sure if this is standard for DI or a bug or something else?
The text was updated successfully, but these errors were encountered: