开发者

SQL Assembly Errors in C# Assembly

I had old code that the source got lost (开发者_C百科but we own it) so I decomplied it using reflector.net.

Now when I compile it, I get this:

 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

What does this mean?


It means that you need to add a reference to System.dll to your project and try compiling again.


You are indirectly referencing an assembly (you have added an assembly that refers to the offending assembly). Add the reference and you should be set.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜