There is a duplicate 'entityFramework' section defined - EntityFramework6 upgrade

前端 未结 4 1378
甜味超标
甜味超标 2020-12-19 13:11

I have recently updated EntityFramework in my WebAPI project from v5 to v6. Unfortunately it seems like somewhere, somehow, there is a reference that exists in some config s

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-19 13:29

    Keeping the same entityFramework versions in both parent and virtual folder web configs fixes the issue for me.

    If you have an older version of the entityFramework installed in the project, right click on the project then go to "Manage NuGet Packages" and then select "search online" option from the left and select version you want and install it.

提交回复
热议问题