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

前端 未结 7 1638
盖世英雄少女心
盖世英雄少女心 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 16:04

    I found that if type x is actually a class in your App_Code, dirtying it and re-saving often forces the web app to recompile and solves the problem.

    0 讨论(0)
提交回复
热议问题