Exception using .net 6
See original GitHub issueWhen trying to run it with .net 6 and ef core 6.0.1 this throws an exception during startup.
System.MissingMethodException: Method not found: 'System.Type Microsoft.EntityFrameworkCore.Metadata.ITypeBase.get_ClrType()'.
at Microsoft.EntityFrameworkCore.DbContextExtensions.AutoHistory[TAutoHistory](EntityEntry entry, Func`1 createHistoryFactory)
at Microsoft.EntityFrameworkCore.DbContextExtensions.EnsureAutoHistory[TAutoHistory](DbContext context, Func`1 createHistoryFactory)
at Microsoft.EntityFrameworkCore.DbContextExtensions.EnsureAutoHistory(DbContext context)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Global Exception Handling in .NET 6
Global exception handling allows us to organize all exception handling logic in one place. Thus, we can improve the readability of the action ......
Read more >NET 6.0 - Global Error Handler Tutorial with Example
Handled exceptions are generated by application code and used to return friendly error messages, for example business logic or validation ...
Read more >How to add Global Exception Handling in .NET 6 and 7
Add Global Exception Handling to .NET · Create the Web API from the template by Microsoft. · Install Dependencies. · Add Entity for...
Read more >NET 6 - Web API Global Exceptions Handling
Exception Handling is a foundation that we need to consider while we are designing and building our application to have a stable application ......
Read more >Implementation Of Global Exception Handling Using .NET ...
In this article, we will learn about global exception handling implementation using .NET Core 6 Web API step by step.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m still getting the error: System.MissingMethodException: Method not found: ‘System.Type Microsoft.EntityFrameworkCore.Metadata.ITypeBase.get_ClrType()’. Using:
I cloned the current repo, included this in my project and it solved this problem for me so guessing the project just needs a new build pushed to nuget for Net 6. Is this something in the works?