c# - C#汇编中的SQL汇编错误

标签 c# asp.net sql-server-2005 assemblies compilation

我有旧的代码使源丢失了(但我们拥有它),所以我使用了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/

相关文章:

c# - 无法使用 WebResponse c# 访问此页面

sql-server - win 7 64位需要sql server 2000

sql-server - 检索 SQL 代理作业的特定错误

c# - C# 中的 Sql Parser 用于语法检查 Oracle 语句

c# - 实体类型需要定义主键

c# - 在 ASP.NET Blazor 中获取和发布

c# - 缩放 WP7 应用程序

asp.net - 我需要编写一个sql查询来显示前25条记录并带有catch

ASP.NET:将 ViewState 移动到页面底部

sql-server-2005 - 哪个是删除插入与 if-update else-insert 的最佳选择?