2009-11-27 72 views
0

我无法在它是由我的朋友在C#开发的Visual Studio 2008中打开我的项目。它显示了这个错误:无法打开我的C#项目

"Could not find type 'LibrarySystem.ctrlSeparator'. 
    Please make sure that the assembly that contains this type is referenced. 
    If this type is a part of your development project, make sure that 
    the project has been successfully built. " 

而且

"The variable 'ctrlSeparator1' is either undeclared or was never assigned. " 

如何纠正这个问题?

+0

你问你的朋友? – Paddy 2009-11-27 11:53:39

回答

7

与所有尊重......错误消息告诉你,你需要知道的一切......

它试图加载控件,它不存在。所以无论你的朋友没有给你整个项目,或者他使用了你没有的第三方组件。

+0

感谢您的建议... – Velmurugan 2009-11-27 11:56:19

2

显然你的朋友使用(或自己写的)一个外部库。

请他为您提供该组件,这样就可以编译项目。

+0

感谢您的建议... – Velmurugan 2009-11-27 11:57:00

1

要么你没有完整的项目,或者您需要注册的DLL。确保代码或程序集中有LibrarySystem.ctrlSeparator。如果它在非托管程序集中,则询问是否需要注册。