An unhandled exception of type 'System.AggregateException' occurred in Microsoft.Extensions.DependencyInjection.dll: #484
Replies: 7 comments
-
Are you getting this error from this project when you do
The exception should tell you which service it is failing to construct. |
Beta Was this translation helpful? Give feedback.
-
Feel free to re-open if you have more info. |
Beta Was this translation helpful? Give feedback.
-
Thanks Rehan for your response. I have installed .NET Core 3.1 in my system including the new templates available for Dotnet-Boxed. Here goes my code details: Program.cs
Startup.cs
I followed the guidelines of Templates mentioned at: https://github.com/Dotnet-Boxed/Templates/blob/master/Docs/GraphQL.md Based on the above I created a POC which works fine but not the above mentioned code. Can you please help me to fix this issue by providing your guidance Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi Rehan, I tried to re-open the above issue but it seems I don't have sufficient privilege to reopen it. The exact setup works fine with .NET Core 2.2. I am not sure what is the issue post upgrade to .NET Core 3.1 As mentioned in the above, I have detailed the Startup.cs and Program.cs in details. Any help on this is much appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
-
It's not clear from the code you posted. I would advise the creation of a small sample project that you can commit to GitHub. Then link it in your StackOverflow. |
Beta Was this translation helpful? Give feedback.
-
I just tried a sample with your template and found the issue. I have posted
the question with all the details now.
Any help on this is much appreciated.
Awaiting your response.
…On Thu, Jan 2, 2020 at 1:57 PM Muhammad Rehan Saeed < ***@***.***> wrote:
It's not clear from the code you posted.
I would advise the creation of a small sample project that you can commit
to GitHub. Then link it in your StackOverflow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/Dotnet-Boxed/Templates/issues/484?email_source=notifications&email_token=AAZJTFDPA5T3X4NYMGFM5OTQ3WQNRA5CNFSM4J667SU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH53FHA#issuecomment-570143388>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZJTFB7VFFJYLOD3WG3XPTQ3WQNRANCNFSM4J667SUQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Just tried the latest version of the template and it works fine. |
Beta Was this translation helpful? Give feedback.
-
Need your help for the question posted at :
https://stackoverflow.com/questions/59470494/an-unhandled-exception-of-type-system-aggregateexception-occurred-in-microsoft
Beta Was this translation helpful? Give feedback.
All reactions