我有旧的代码使源丢失了(但我们拥有它),所以我使用了reflector.net对其进行了分解。
现在,当我编译它时,我得到了:
Error 1 The type 'System.ComponentModel.Component' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\NCESTableGenerator\NCESTableGenerator\db\OutputTableDAO.cs 27 20 NCESTableGenerator
这是什么意思?
最佳答案
这意味着您需要在项目中添加对System.dll
的引用,然后尝试再次编译。
关于c# - C#汇编中的SQL汇编错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7114741/