I updated all the references, but it still didn't work
I updated all the references, but it still didn't work
Hi @Mustafa-0473,
The error message means that Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlServerSqlTranslatingExpressionVisitorFactory type has a mention of Create method in your code/library, but it is unable to find it as there is a wrong version's reference of the nuget package in which Create method is not present.
Please note that all the following packages should be of same version:
Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore
Microsoft.AspNetCore.Identity.EntityFrameworkCore
Microsoft.EntityFrameworkCore.Design
Microsoft.EntityFrameworkCore.SqlServer
From the image, all of these should be 3.1.15.0 version.
If still not working, you could check out this solution.
Besides, you could also tell us your application version, Visual Studio version, post the .csproj file content and post the related code to reproduce the problem.
Did you installed EntityFramework.Tools?
it contain scaffolding.
Install-Package Microsoft.EntityFrameworkCore.Tools -Version 5.0.7
Consider using EF Power Tools which is a Visual Studio extension which allows reverse engineering by right clicking on a project.
9 people are following this question.
How to do encrypt and decrypt data using Cryptography API Next Generation (CNG) in C#?
How to implement NCryptSignHash and NCryptVerifySignature in C#?
What is diffrent beween CNG and Microsoft Key storage provider?
How do I configure my multithreaded .NET 6 application to use all Windows CPU groups?