Namespace not recognized (even though it is there)

前端 未结 20 1851
终归单人心
终归单人心 2020-11-28 21:27

I am getting this error:

The type or namespace name \'AutoMapper\' could not be found (are you missing a using directive or an assembly reference?)

20条回答
  •  独厮守ぢ
    2020-11-28 22:06

    If your class does not compile, even if it is in the project check these:

    1. whether class name is exactly the same
    2. whether name space is exactly the same
    3. whether class properties show build action = compile

提交回复
热议问题