- What is your product version? Product version od Net6.0
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .net core
If issue related with ABP Framework
- What is ABP Framework version? We have already updated ABP framework packages.
We are migrating application from NetCore 2.2 to .Net 6.0 version. While compiling it is throwing error "Error CS0103 The name 'Context' does not exist in the current context". It is giving from EntityFrameworkCore project.
We are using following packages. Microsoft.EntityFrameworkCore.Design 6.0.0 Microsoft.EntityFrameworkCore.SqlServer 6.0.0 Microsoft.EntityFrameworkCore.Tools 6.0.0 Microsoft.NETCore.App 2.2.8
The "Context" object is from "Abp.EntityFrameworkCore.Repositories" in 'EfCoreRepositoryBase' class of 'TDbContext' type. We are refereing, Abp.EntityFrameworkCore, Version=220.127.116.11
Please let us know.
I had a similar problem when upgrading to 10.4.0 and came across it again this morning with 11.0.0. The answer is at the foot of the issue.