Strange Error - CS0012: The type x is defined in an assembly that is not referenced

前端 未结 7 1636
盖世英雄少女心
盖世英雄少女心 2020-12-09 15:28

The type \'x\' is defined in an assembly that is not referenced. You must add a reference to assembly \'abc123\'.

I have a .NET 2.0 web application that references m

7条回答
  •  时光说笑
    2020-12-09 15:52

    More often than not, it is because of the cached assemblies. One way resolve this issue is by making the "strong reference" in the proj or config file. Refer this blog post

提交回复
热议问题