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

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

    There's also a bug that can manifest itself with similar symptoms, described here.

    The workaround is to delete everything in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ directory, and it only seems to manifest itself in debug mode.

提交回复
热议问题