The type or namespace name 'Entity' does not exist in the namespace 'System.Data'

后端 未结 21 1609
余生分开走
余生分开走 2020-12-08 12:46

I\'m using WS class and it gave me error when I run the application:

The type or namespace name \'Entity\' does not exist in the namespace \'System.Data\' 
<         


        
21条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 13:35

    I will add my answer to cover all cases:

    My solution was unistalling EntityFramework from NuGet Package Manager and then I was prompted to restart Visual Studio because it couldn't "finalize the uninstall".

    I restarted Visual Studio and reinstalled EntityFramework then my problem was solved.

    Hope this helps someone!

提交回复
热议问题