Building Project that uses EntityFramework fails with a lot of errors
问题 I am using EntityFramework as my Data Access Layer in a Visual Studio C# project. I have added a new entity model and built right away without adding or doing anything to test its functionality. Unfortunately, the build failed with many errors like: CS0426 The type name 'Data' does not exist in the type 'System' CS0138 A 'using namespace' directive can only be applied to namespaces; 'System' is a type not a namespace. Consider a 'using static' directive instead CS0246 The type or namespace