-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
.NET 8 - Fatal error - Attempted to read or write protected memory #2005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I ran into a very similar issue this morning. I don't get as good of a stack trace but I found that in .NET 8, when I use the While playing around with it, it seemed related the use of If you go to the provided .NET 8 fiddle and change the DTOs to the following, it runs correctly:
What I found in local testing was that I could use a |
Intriguing. Will prioritize, thanks for the reports. Sorry, I missed this the first time in November - too much email, and this isn't my day job. |
Awesome! Thanks @mgravell |
Hi,
When I upgraded my projects to .NET 8, some of my queries were failing with a fatal error:
Using Dapper
2.1.24
, the following program works with .NET 7, but fails with .NET 8:The text was updated successfully, but these errors were encountered: