Skip to content
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

Method not found: 'System.Security.CodeAccessPermission System.Data.Common.DbProviderFactory.CreatePermission(System.Security.Permissions.PermissionState) #4

Open
sunilsutar-veyo opened this issue Mar 10, 2022 · 0 comments

Comments

@sunilsutar-veyo
Copy link

#1

Referring to this one -
This issue still exists with .net6 if I use my new project with .net6 and dapper's library implementation class library with .net framework 4.7.2.
We can't upgrade the dapper's common library implementation to .net6 yet.
But the issue occurs with following error -
"Method not found: 'System.Security.CodeAccessPermission System.Data.Common.DbProviderFactory.CreatePermission(System.Security.Permissions.PermissionState)'." with basic use of using (context)
{
connection.open()...
}

--
Thanks,
Sunil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant